type_traits.is_std_string - MichaelMiller-/sec21 GitHub Wiki

sec21::type_traits::is_std_string

#include <sec21/type_traits/is_std_string.h>

Checks whether the type is a std::string.

Example

static_assert(is_std_string<std::string>::value == true);
static_assert(is_std_string<int>::value == false);
static_assert(is_std_string<std::wstring>::value == false);
static_assert(is_std_string<float>::value == false);
⚠️ **GitHub.com Fallback** ⚠️