// Test boost/pending/iterator_adaptors.hpp // (C) Copyright Jeremy Siek 1999. Permission to copy, use, modify, // sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. // See http://www.boost.org for most recent version including documentation. // Revision History // 21 Jan 01 Initial version (Jeremy Siek) #include #include #include #include class foo { public: void bar() { } }; int main() { typedef boost::iterator_adaptor adaptor_type; adaptor_type i; i->bar(); return 0; }