Boost C++ Libraries

PrevUpHomeNext

Struct template_segment_ref

boost::taar::matcher::template_segment_ref — Non-owning representation of one segment in a parsed path template.

Synopsis

// In header: <boost/taar/matcher/template_parser.hpp>


struct template_segment_ref {

  // public member functions
  constexpr bool operator==(template_segment_ref const &) const;
  constexpr operator template_segment() const;

  // public data members
  template_segment_type type;
  std::string_view value;
};

Description

Holds a string_view into the original template text and implicitly converts to template_segment for storage.

template_segment_ref public member functions

  1. constexpr bool operator==(template_segment_ref const & other) const;
  2. constexpr operator template_segment() const;

PrevUpHomeNext