// { dg-do compile } // 2007-02-04 Benjamin Kosnik // // Copyright (C) 2007, 2009 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this library; see the file COPYING3. If not see // . #include namespace std { namespace tr1 { // [3.4] class template result_of template class result_of; #if 0 // [3.5] function template mem_fn template unspecified mem_fn(R T::* pm); #endif // [3.6] function object binders template struct is_bind_expression; template struct is_placeholder; #if 0 template unspecified bind(F f, T1 t1, ..., TN tN); template unspecified bind(F f, T1 t1, ..., TN tN); namespace placeholders { // M is the implementation-defined number of placeholders extern unspecified _1; extern unspecified _2; . . . extern unspecified _M; } #endif // [3.7] polymorphic function wrappers class bad_function_call; template class function; template void swap(function&, function&); template void operator==(const function&, const function&); template void operator!=(const function&, const function&); #if 0 template bool operator==(const function&, unspecified-null-pointer-type); template bool operator==(unspecified-null-pointer-type, const function&); template bool operator!=(const function&, unspecified-null-pointer-type); template bool operator!=(unspecified-null-pointer-type, const function&); #endif } // namespace tr1 } // namespace std