Boost logo

Boost :

Subject: Re: [boost] [gsoc17] Project1: Static map: Can I implement the competency test in g++-7?
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-03-13 12:36:00


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/

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk