#include namespace boost { namespace xint { namespace detail { template void this_function_should_not_be_found_by_adl(const T&) {} } } } int main() { using namespace boost::xint::options; boost::xint::integer_t< threadsafe, fixedlength<10>, negative_modulus, nothrow, secure > test; this_function_should_not_be_found_by_adl(test); }