24 #ifndef NDN_CXX_UTIL_REGEX_REGEX_BACKREF_MANAGER_HPP
25 #define NDN_CXX_UTIL_REGEX_REGEX_BACKREF_MANAGER_HPP
39 pushRef(
const shared_ptr<RegexMatcher>& matcher);
44 m_backrefs.pop_back();
50 return m_backrefs.size();
53 shared_ptr<RegexMatcher>
57 std::vector<weak_ptr<RegexMatcher>> m_backrefs;
shared_ptr< RegexMatcher > getBackref(size_t i) const
size_t pushRef(const shared_ptr< RegexMatcher > &matcher)
Common includes and macros used throughout the library.