'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class template basic_const_string_ref

odtone::basic_const_string_ref

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/string.hpp>

template<typename CharT> 
class basic_const_string_ref {
public:
  // types
  typedef CharT const * type;

  // construct/copy/destruct
  basic_const_string_ref(type);
  basic_const_string_ref(std::basic_string< CharT > const &);

  // public member functions
  operator type() const;
  CharT operator[](ptrdiff_t) const;
};

Description

basic_const_string_ref public construct/copy/destruct

  1. basic_const_string_ref(type str);
  2. basic_const_string_ref(std::basic_string< CharT > const & str);

basic_const_string_ref public member functions

  1. operator type() const;
  2. CharT operator[](ptrdiff_t idx) const;

PrevUpHomeNext