Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__gnu_parallel::loser_tree_traits(3) [debian man page]

__gnu_parallel::loser_tree_traits< T >(3cxx)							      __gnu_parallel::loser_tree_traits< T >(3cxx)

NAME
__gnu_parallel::loser_tree_traits< T > - SYNOPSIS
Static Public Attributes static const bool use_pointer Detailed Description template<typename T>struct __gnu_parallel::loser_tree_traits< T > Traits for determining whether the loser tree should use pointers or copies. The field 'use_pointer' is used to determine whether to use pointers in the loser trees or whether to copy the values into the loser tree. The default behavior is to use pointers if the data type is 4 times as big as the pointer to it. Specialize for your data type to customize the behavior. Example: template<> struct loser_tree_traits<int> { static const bool use_pointer = false; }; template<> struct loser_tree_traits<heavyweight_type> { static const bool use_pointer = true; }; Parameters: T type to give the loser tree traits for. Definition at line 776 of file multiway_merge.h. Member Data Documentation template<typename T > const bool __gnu_parallel::loser_tree_traits< T >::use_pointer [static] True iff to use pointers instead of values in loser trees. The default behavior is to use pointers if the data type is four times as big as the pointer to it. Definition at line 784 of file multiway_merge.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Thu Aug 2 2012 __gnu_parallel::loser_tree_traits< T >(3cxx)

Check Out this Related Man Page

__gnu_parallel::replace_if_selector< It, Op, T >(3cxx)					    __gnu_parallel::replace_if_selector< It, Op, T >(3cxx)

NAME
__gnu_parallel::replace_if_selector< It, Op, T > - SYNOPSIS
Inherits __gnu_parallel::generic_for_each_selector< It >. Public Member Functions bool operator() (Op &o, It i) replace_if_selector (const T &new_val) Public Attributes It finish_iterator const T & new_val Detailed Description template<typename It, typename Op, typename T>struct __gnu_parallel::replace_if_selector< It, Op, T > std::replace() selector. Definition at line 158 of file for_each_selectors.h. Constructor &; Destructor Documentation template<typename It , typename Op , typename T > __gnu_parallel::replace_if_selector< It, Op, T >::replace_if_selector (const T &new_val) [inline], [explicit] Constructor. Parameters: new_val Value to replace with. Definition at line 166 of file for_each_selectors.h. Member Function Documentation template<typename It , typename Op , typename T > bool __gnu_parallel::replace_if_selector< It, Op, T >::operator() (Op &o, Iti) [inline] Functor execution. Parameters: o Operator. i Iterator referencing object. Definition at line 172 of file for_each_selectors.h. References __gnu_parallel::replace_if_selector< It, Op, T >::new_val. Member Data Documentation template<typename It > It __gnu_parallel::generic_for_each_selector< It >::finish_iterator [inherited] Iterator on last element processed; needed for some algorithms (e. g. std::transform()). Definition at line 48 of file for_each_selectors.h. template<typename It , typename Op , typename T > const T& __gnu_parallel::replace_if_selector< It, Op, T >::new_val Value to replace with. Definition at line 161 of file for_each_selectors.h. Referenced by __gnu_parallel::replace_if_selector< It, Op, T >::operator()(). Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Thu Aug 2 2012 __gnu_parallel::replace_if_selector< It, Op, T >(3cxx)
Man Page