13 Mar
2017
13 Mar
'17
12:36 p.m.
On 13/03/2017 11:17, Vic Luo wrote:
Besides, I found that boost::string_view is buggy regarding constexpr(like many other STL implementation of std::string_view), thus I opened a ticket at https://svn.boost.org/trac/boost/ticket/12897. This makes this project even harder to tackle different types of constexpr strings:-[
This is a long known issue. You should implement your own string comparison routine which is constexpr. As you mention, Boost's string_view is constrained by the STL's implementation of char_traits. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/