Test the capabilities of the boost::function class template. The boost::function class template may not be usable on your compiler. However, the library may still be usable via the boost::functionN class templates. Test the capabilities of the boost::functionN class templates. Test the use of custom allocators. Allocators are ignored by the implementation. Test the optimization of stateless function objects in the Boost.Function library. The exception-safety and performance guarantees given for stateless function objects may not be met by the implementation. Test the interaction between Boost.Function and Boost.Lambda. Either Boost.Lambda does not work on the platform, or Boost.Function cannot safely be applied without the use of boost::unlambda. Test the operation of the target member function and the equality operators. Test the (incorrect!) use of comparisons between Boost.Function function objects. Intuitive (but incorrect!) code may compile and will give meaningless results. Test the use of an incompatible function object with Boost.Function Incorrect code may compile (with potentially unexpected results). Test the generation of a Boost.Function function object adaptor accepting 30 arguments. The Boost.Function library may work for function object adaptors of up to 10 parameters, but will be unable to generate adaptors for an arbitrary number of parameters. Failure often indicates an error in the compiler's preprocessor. #include ]]> int main() { return 0; } Test the first tutorial example. #include ]]> int main() { return 0; } Test the first tutorial example. #include ]]> int main() { return 0; } Test the second tutorial example. #include ]]> int main() { return 0; } Test the second tutorial example. #include #include ]]> int X::foo(int x) { return -x; } int main() { return 0; } Test member function example from tutorial. #include #include ]]> int X::foo(int x) { return -x; } int main() { return 0; } Test member function example from tutorial. #include #include ]]> int X::foo(int x) { return -x; } int main() { return 0; } Test standard binders example from tutorial. #include #include ]]> int X::foo(int x) { return -x; } int main() { return 0; } Test standard binders example from tutorial. #include ]]> struct stateful_type { int operator()(int) const { return 0; } }; int main() { return 0; } Test boost::ref example from tutorial. #include ]]> struct stateful_type { int operator()(int) const { return 0; } }; int main() { return 0; } Test boost::ref example from tutorial.