Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
Tpetra::project2nd< Arg1, Arg2 > Class Template Reference

Binary function that returns its second argument. More...

#include <Tpetra_ConfigDefs.hpp>

Inherits binary_function< Arg1, Arg2, Arg2 >.

Detailed Description

template<class Arg1, class Arg2>
class Tpetra::project2nd< Arg1, Arg2 >

Binary function that returns its second argument.

Template Parameters
Arg1Type of the first argument.
Arg2Type of the second argument, and type of the return value. It may differ from the type of the first argument.

This function object might be defined in the std namespace; it is an SGI extension to the STL. We can't count on it living in the std namespace, but it's useful, so we define it here.

If you apply using namespace std; to the global namespace, and if your STL implementation includes project1st, it will cause collisions with this definition. We recommend for this and other reasons not to state using namespace std; in the global namespace.

Definition at line 190 of file Tpetra_ConfigDefs.hpp.


The documentation for this class was generated from the following file: