Non Member Functions

This imp::unsigned_int<> library provides some non-member-functions. It is intended that such functions are found by ADL [1]. However its possible that some compilers don't fully support ADL.

Test that ADL works for unsigned_int<>.

unsigned_int< 128 > a;

adl_find_me( a );

Test Result: gcc34 Passed, msvc80 Passed, msvc71 Passed


[1]ADL - Argument Dependant Lookup. This is where C++ resolves un-namespace qualified function calls by first looking in the namespaces of the function's arguments.