Lines Matching refs:T
218 template <typename T>
219 semantic_type (YY_RVREF (T) t) in semantic_type()
221 YY_ASSERT (sizeof (T) <= size); in semantic_type()
222 new (yyas_<T> ()) T (YY_MOVE (t)); in semantic_type()
238 template <typename T, typename... U>
239 T&
242 return *new (yyas_<T> ()) T (std::forward <U>(u)...);
246 template <typename T>
247 T&
250 return *new (yyas_<T> ()) T (); in emplace()
254 template <typename T>
255 T&
256 emplace (const T& t) in emplace()
258 return *new (yyas_<T> ()) T (t); in emplace()
264 template <typename T>
265 T&
268 return emplace<T> (); in build()
273 template <typename T>
274 T&
275 build (const T& t) in build()
277 return emplace<T> (t); in build()
281 template <typename T>
282 T&
285 return *yyas_<T> (); in as()
289 template <typename T>
290 const T&
293 return *yyas_<T> (); in as()
304 template <typename T>
308 std::swap (as<T> (), that.as<T> ()); in swap()
314 template <typename T>
319 emplace<T> (std::move (that.as<T> ())); in move()
321 emplace<T> (); in move()
322 swap<T> (that); in move()
324 that.destroy<T> (); in move()
329 template <typename T>
333 emplace<T> (std::move (that.as<T> ())); in move()
334 that.destroy<T> (); in move()
339 template <typename T>
343 emplace<T> (that.as<T> ()); in copy()
347 template <typename T>
351 as<T> ().~T (); in destroy()
363 template <typename T>
364 T*
368 return static_cast<T*> (yyp); in yyas_()
372 template <typename T>
373 const T*
377 return static_cast<const T*> (yyp); in yyas_()
2445 template <typename T, typename S = std::vector<T> >
2469 const T&
2478 T&
2488 push (YY_MOVE_REF (T) t) in push()
2490 seq_.push_back (T ()); in push()
2539 const T&