Classes | Namespaces
string_traits.hpp File Reference

Useful C++ string traits. More...

#include <cstddef>
#include <string>
#include <type_traits>
Include dependency graph for string_traits.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cras::is_c_string< T >
 Type trait for dynamic-sized and constant-sized C strings. More...
 
struct  cras::is_c_string< char * >
 
struct  cras::is_c_string< char *const >
 
struct  cras::is_c_string< char[I]>
 
struct  cras::is_c_string< const char * >
 
struct  cras::is_c_string< const char *const >
 
struct  cras::is_c_string< const char[I]>
 
struct  cras::is_string< T, typename >
 Char trait for a C-string or std::string. More...
 
struct  cras::is_string< T, ::std::enable_if_t<::cras::is_c_string< typename std::decay< T >::type >::value > >
 
struct  cras::is_string< T, ::std::enable_if_t<::std::is_same< typename std::decay< T >::type, ::std::string >::value > >
 

Namespaces

 cras
 

Detailed Description

Useful C++ string traits.

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file string_traits.hpp.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:32:53