Home
last modified time | relevance | path

Searched refs:auto_any (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/
H A Dforeach.hpp253 struct auto_any : auto_any_base struct
255 explicit auto_any(T const &t) in auto_any() argument
271 return static_cast<auto_any<T> const &>(a).item; in auto_any_cast()
630 inline auto_any<T> contain(T const &t, boost::mpl::true_ *) // rvalue in contain()
632 return auto_any<T>(t); in contain()
636 inline auto_any<T *> contain(T &t, boost::mpl::false_ *) // lvalue in contain()
640 return auto_any<T *>(&t); in contain()
642 return auto_any<T *>(boost::addressof(t)); in contain()
648 inline auto_any<simple_variant<T> >
651 return auto_any<simple_variant<T> >(*rvalue ? simple_variant<T>(t) : simple_variant<T>(&t)); in contain()
[all …]