Commit 4c9be806 by Paolo Carlini Committed by Paolo Carlini

functional: Formatting fixes.

2007-04-22  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/functional: Formatting fixes.

From-SVN: r124041
parent 87a20856
2007-04-22 Paolo Carlini <pcarlini@suse.de> 2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional: Formatting fixes.
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/ext/concurrence.h: Do not include <cstdlib>, use * include/ext/concurrence.h: Do not include <cstdlib>, use
__builtin_abort. __builtin_abort.
* include/debug/debug.h: Likewise. * include/debug/debug.h: Likewise.
......
...@@ -987,7 +987,7 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -987,7 +987,7 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
* in a tuple. * in a tuple.
* @endif * @endif
*/ */
template<int... Indexes> template<int... _Indexes>
struct _Index_tuple { }; struct _Index_tuple { };
/** /**
...@@ -1470,9 +1470,10 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -1470,9 +1470,10 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
*/ */
template<typename _Result, typename _Signature> template<typename _Result, typename _Signature>
struct is_bind_expression<_Bind_result<_Result, _Signature> > struct is_bind_expression<_Bind_result<_Result, _Signature> >
{ { static const bool value = true; };
static const bool value = true;
}; template<typename _Result, typename _Signature>
const bool is_bind_expression<_Bind_result<_Result, _Signature> >::value;
template<typename _Functor, typename... _ArgTypes> template<typename _Functor, typename... _ArgTypes>
inline inline
...@@ -1499,9 +1500,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -1499,9 +1500,6 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
return __result_type(__maybe_type::__do_wrap(__f), __args...); return __result_type(__maybe_type::__do_wrap(__f), __args...);
} }
template<typename _Result, typename _Signature>
const bool is_bind_expression<_Bind_result<_Result, _Signature> >::value;
/** /**
* @brief Exception class thrown when class template function's * @brief Exception class thrown when class template function's
* operator() is called with an empty target. * operator() is called with an empty target.
...@@ -1589,7 +1587,9 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1) ...@@ -1589,7 +1587,9 @@ _GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
// Converts a reference to a function object into a callable // Converts a reference to a function object into a callable
// function object. // function object.
template<typename _Functor> template<typename _Functor>
inline _Functor& __callable_functor(_Functor& __f) { return __f; } inline _Functor&
__callable_functor(_Functor& __f)
{ return __f; }
template<typename _Member, typename _Class> template<typename _Member, typename _Class>
inline _Mem_fn<_Member _Class::*> inline _Mem_fn<_Member _Class::*>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment