boost::urls::grammar::is_charset

Alias for std::true_type if T satisfies CharSet .

Synopsis

template<class T>
using is_charset =     _see-below_;

Description

This metafunction determines if the type T meets these requirements of CharSet :

  • An instance of T is invocable with this equivalent function signature:

bool T::operator()( char ) const noexcept;

Use with enable_if on the return value:

template< class CharSet >
typename std::enable_if< is_charset<T>::value >::type
func( CharSet const& cs );

Template Parameters

Name Description

T

the type to check.

Created with MrDocs