Lines Matching refs:regex_t
30 /// Specialization of sptr_utils::build_sptr for regex_t.
32 /// This is used to wrap a pointer to regex_t into a
33 /// shared_ptr<regex_t>.
35 /// @param p the bare pointer to regex_t to wrap into a shared_ptr<regex_t>.
37 /// @return the shared_ptr<regex_t> that wraps @p p.
40 sptr_utils::build_sptr<regex_t>(regex_t *p)
43 /// Specialization of sptr_utils::build_sptr for regex_t.
45 /// This creates a pointer to regex_t and wraps it into a shared_ptr<regex_t>.
47 /// @return the shared_ptr<regex_t> wrapping the newly created regex_t*
50 sptr_utils::build_sptr<regex_t>()
51 {return sptr_utils::build_sptr(new regex_t);}
113 regex_t_sptr r = sptr_utils::build_sptr(new regex_t);