Loading...
Searching...
No Matches
Namespaces | Concepts
stringconvert.h File Reference

concept to check if a type has a valid string_converter. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  bbm
 
namespace  bbm::concepts
 

Concepts

concept  bbm::concepts::to_string_converter
 concept to check if a type has a valid string_converter with:
 
concept  bbm::concepts::from_string_converter
 concept to check if a type has a valid string_converter with:
 
concept  bbm::concepts::has_toString
 Concept to check if type has a toString member.
 
concept  bbm::concepts::has_fromString
 Concept to check if type has a fromString member.
 
concept  bbm::concepts::to_stringconvert
 
concept  bbm::concepts::from_stringconvert
 
concept  bbm::concepts::stringconvert
 

Functions

forward declarations of toString and fromString
template<typename T >
requires concepts::from_stringconvert<T>
fromString (const std::string &str)
 fromString alias
 
template<typename T >
requires concepts::to_stringconvert<T>
std::string toString (const T &obj)
 toString alias
 

Detailed Description

concept to check if a type has a valid string_converter.