Open ptheywood opened 7 years ago
<xmemory.h>
static_assert(!is_const<_Ty>::value, "The C++ Standard forbids containers of const elements " "because allocator<const T> is ill-formed.");
i.e std::vector<const std::string> is invalid.
std::vector<const std::string>
This only effects g++ and VC++2015+.
Fix it if you want, but I won't get round to it till I make the full switch to VS2015, which isn't something I plan on currently.
<xmemory.h>
i.e
std::vector<const std::string>
is invalid.