fixed binary_function
This commit is contained in:
parent
d829770bbd
commit
c91537f01d
@ -5,10 +5,13 @@
|
|||||||
// James Turk (jpt2433@rit.edu)
|
// James Turk (jpt2433@rit.edu)
|
||||||
//
|
//
|
||||||
// Version:
|
// Version:
|
||||||
// $Id: ConfigFile.h,v 1.3 2005/02/03 20:38:56 cozman Exp $
|
// $Id: ConfigFile.h,v 1.4 2005/02/05 03:00:41 cozman Exp $
|
||||||
//
|
//
|
||||||
// Revisions:
|
// Revisions:
|
||||||
// $Log: ConfigFile.h,v $
|
// $Log: ConfigFile.h,v $
|
||||||
|
// Revision 1.4 2005/02/05 03:00:41 cozman
|
||||||
|
// fixed binary_function
|
||||||
|
//
|
||||||
// Revision 1.3 2005/02/03 20:38:56 cozman
|
// Revision 1.3 2005/02/03 20:38:56 cozman
|
||||||
// conversion to LF
|
// conversion to LF
|
||||||
//
|
//
|
||||||
@ -50,12 +53,9 @@ public: // types used in ConfigFile
|
|||||||
|
|
||||||
//predicate for search
|
//predicate for search
|
||||||
template<class pairT>
|
template<class pairT>
|
||||||
class StrPairEq
|
class StrPairEq : public std::binary_function<pairT, std::string, bool>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef pairT first_argument_type;
|
|
||||||
typedef std::string second_argument_type;
|
|
||||||
typedef bool result_type;
|
|
||||||
bool operator()(const pairT& lhs, const std::string& rhs) const;
|
bool operator()(const pairT& lhs, const std::string& rhs) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user