Searched defs:reference_wrapper (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-tuple.cpp39 class reference_wrapper { class
43 reference_wrapper(T& t) : ptr(&t) { } function in class:reference_wrapper
47 template<typename T> reference_wrapper<T> ref(T& t) {
48 return reference_wrapper<T>(t);
50 template<typename T> reference_wrapper<const T> cref(const T& t) {
51 return reference_wrapper<const T>(t);
119 struct make_tuple_result<reference_wrapper<T> > {
H A Dexample-bind.cpp39 class reference_wrapper { class
43 reference_wrapper(T& t) : ptr(&t) { } function in class:reference_wrapper
47 template<typename T> reference_wrapper<T> ref(T& t) {
48 return reference_wrapper<T>(t);
50 template<typename T> reference_wrapper<const T> cref(const T& t) {
51 return reference_wrapper<const T>(t);
99 struct make_tuple_result<reference_wrapper<T> > {
283 inline T& mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&) {
307 struct is_reference_wrapper<reference_wrapper<T>> {

Completed in 150 milliseconds