Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template indeterminate_name

boost::logic::indeterminate_name — A locale facet specifying the name of the indeterminate value of a tribool.

Synopsis

// In header: <boost/logic/tribool_io.hpp>

template<typename CharT> 
class indeterminate_name {
public:
  // types
  typedef CharT                      char_type;  
  typedef std::basic_string< CharT > string_type;

  // construct/copy/destruct
  indeterminate_name();
  explicit indeterminate_name(const string_type &);

  // public member functions
  string_type name() const;

  // public data members
  static std::locale::id id;  // Uniquily identifies this facet with the locale. 
};

Description

The facet is used to perform I/O on tribool values when std::boolalpha has been specified. This class template is only available if the C++ standard library implementation supports locales.

indeterminate_name public construct/copy/destruct

  1. indeterminate_name();
    Construct the facet with the default name.
  2. explicit indeterminate_name(const string_type & initial_name);
    Construct the facet with the given name for the indeterminate value.

indeterminate_name public member functions

  1. string_type name() const;
    Returns the name for the indeterminate value.

PrevUpHomeNext