0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd: Add #ifdef around experimental string_view for non-c++17.

This commit is contained in:
Jason Volk 2017-11-30 11:27:00 -08:00
parent f6e0a8e143
commit b2a6d4ebab

View file

@ -135,10 +135,12 @@ extern "C" {
#define AFGP(a, b) __attribute__((format(gnu_printf, a, b)))
// Experimental std::string_view
#if __cplusplus <= 201703 //TODO: refine
namespace std
{
using experimental::string_view;
}
#endif
///////////////////////////////////////////////////////////////////////////////
//