Home
last modified time | relevance | path

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

/third_party/boost/libs/hana/example/tutorial/
Dintrospection.cpp77 auto has_member = hana::is_valid([](auto&& x) -> decltype((void)x.member) { }); in main() local
81 BOOST_HANA_CONSTANT_CHECK(has_member(Foo{})); in main()
82 BOOST_HANA_CONSTANT_CHECK(!has_member(Bar{})); in main()
88 auto has_member = hana::is_valid([](auto t) -> decltype( in main() local
94 BOOST_HANA_CONSTANT_CHECK(has_member(hana::type_c<Foo>)); in main()
95 BOOST_HANA_CONSTANT_CHECK(!has_member(hana::type_c<Bar>)); in main()
101 auto has_member = hana::is_valid([](auto t) -> hana::type< in main() local
108 BOOST_HANA_CONSTANT_CHECK(has_member(hana::type_c<Foo>)); in main()
109 BOOST_HANA_CONSTANT_CHECK(!has_member(hana::type_c<Bar>)); in main()
118 auto has_member = hana::is_valid([](auto t) -> decltype( variable
[all …]
/third_party/boost/boost/thread/
Dlockable_traits.hpp68 static false_type has_member(tester<&U::member_name>*); \
70 static true_type has_member(...); \
73 bool, value=sizeof(has_member<derived>(0))==sizeof(true_type)); \
96 static true_type has_member(V (U::*)());
98 static false_type has_member(U);
101 bool,value=sizeof(has_member_lock<T>::has_member(&T::lock))==sizeof(true_type));
120 static true_type has_member(V (U::*)());
122 static false_type has_member(U);
125 bool,value=sizeof(has_member_unlock<T>::has_member(&T::unlock))==sizeof(true_type));
144 static true_type has_member(bool (U::*)());
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/
Dmeson.build124 have_sa_len = compiler.has_member('struct sockaddr', 'sa_len', prefix: prefix)
134 have_sin_len = compiler.has_member('struct sockaddr_in', 'sin_len', prefix: prefix)
138 have_sin6_len = compiler.has_member('struct sockaddr_in6', 'sin6_len', prefix: prefix)
142 have_sconn_len = compiler.has_member('struct sockaddr_conn', 'sconn_len', prefix: '#include "usrsct…
/third_party/boost/boost/convert/detail/
Dis_callable.hpp60 BOOST_DECLARE_HAS_MEMBER(has_member, __member_name__); \
97 static bool const value = check<has_member<class_type>::value, signature>::value; \
/third_party/boost/libs/convert/doc/
D00_main.qbk30 [import ../test/has_member.cpp]
/third_party/boost/libs/convert/
Dmakefile18 target_13 = convert-test-has-member test/has_member.cpp
/third_party/weston/libweston/backend-rdp/
Dmeson.build21 if cc.has_member(
/third_party/boost/libs/convert/test/
Djamfile.v240 run has_member.cpp : : : : convert_test_has_member ;
/third_party/gstreamer/gstplugins_base/
Dmeson.build423 if cc.has_member('struct tcp_info', '__tcpi_reordering', prefix: '#include <netinet/tcp.h>')
427 if cc.has_member('struct tcp_info', 'tcpi_reordering', prefix: '#include <netinet/tcp.h>')
/third_party/gstreamer/gstreamer/
Dmeson.build224 if cc.has_member('struct tm', 'tm_gmtoff', prefix : '#include <time.h>')
/third_party/mesa3d/
Dmeson.build1406 if cc.has_member('struct dirent', 'd_type', prefix: '''#include <sys/types.h>
/third_party/glib/
Dmeson.build413 if cc.has_member('struct ' + m[0], m[1], prefix : header_check_prefix)