#include "concept.hpp"
#include <generic/base.hpp>
Go to the source code of this file.
Namespaces | |
namespace | instigate |
namespace | instigate::stl |
Classes | |
struct | instigate::stl::ubinder< UF > |
Helper class to bind the argument of an unary function. More... | |
struct | instigate::stl::bbinder< BF > |
Helper class to bind both arguments of binary function with values. More... | |
struct | instigate::stl::bbinder1st< BF > |
Template class aimed to turn binary function into unary function. This is a model of instigate::stl::unary_function. It is implemented so that it deals with Binary Function using instigate::stl::binary_function concept. More... | |
class | instigate::stl::bbinder2nd< BF > |
Template class aimed to turn binary function into unary function. More... | |
struct | instigate::stl::tbinder< TF > |
Template class aimed to turn ternary function into generator. More... | |
struct | instigate::stl::tbinder1st< TF > |
Template class aimed to turn ternary function into binary function. More... | |
class | instigate::stl::tbinder2nd< TF > |
Template class aimed to turn ternary function into binary function. More... | |
class | instigate::stl::tbinder3rd< TF > |
Template class aimed to turn ternary function into binary function. More... | |
class | instigate::stl::unary_compose< UF1, UF2 > |
Compose unary function with another unary function. More... | |
class | instigate::stl::binary_compose< BF, UF1, UF2 > |
compose binary function with 2 unary functions More... | |
class | instigate::stl::constant_generator< T > |
The class constant_generator receives an argument in constructor and returns its value whether operator() is called. More... | |
struct | instigate::stl::bnot2< BP > |
Helper class to negate the result of binary predicate. More... | |
struct | instigate::stl::unot1< UP > |
Helper class to negate the result of unary predicate. More... | |
Functions | |
template<typename UF, typename Value> | |
ubinder< UF > | instigate::stl::bind (UF f, const Value &x) |
Transform unary function into generator by binding its argument. | |
template<typename BF, typename Value1, typename Value2> | |
bbinder< BF > | instigate::stl::bind (BF f, const Value1 &x, const Value2 &y) |
Transform binary function into generator by binding its arguments. | |
template<typename BF, typename Value> | |
bbinder1st< BF > | instigate::stl::bind1st (BF f, const Value &x) |
Transform binary function into unary function by binding its first argument. It takes function and an argument as parameters, and returns an instance of bbinder1st<BF> class. | |
template<typename BF, typename Value> | |
bbinder2nd< BF > | instigate::stl::bind2nd (BF f, const Value &x) |
Transforms binary function into unary function by binding its second argument. | |
template<typename TF, typename Value1, typename Value2, typename Value3> | |
tbinder< TF > | instigate::stl::bind (TF f, const Value1 &x, const Value2 &y, const Value3 &z) |
Transform ternary function into generator by binding its arguments. | |
template<typename TF, typename Value> | |
tbinder1st< TF > | instigate::stl::tbind1st (TF f, const Value &x) |
Transform ternary function into binary function by binding its first argument. | |
template<typename TF, typename Value> | |
tbinder2nd< TF > | instigate::stl::tbind2nd (TF f, const Value &x) |
Transform ternary function into binary function by binding its second argument. | |
template<typename TF, typename Value> | |
tbinder3rd< TF > | instigate::stl::tbind3rd (TF f, const Value &x) |
Transform ternary function into binary function by binding its third argument. | |
template<typename BF, typename UF1, typename UF2> | |
binary_compose< BF, UF1, UF2 > | instigate::stl::compose (BF b, UF1 f1, UF2 f2) |
helper function to use for binary composition | |
template<typename UF1, typename UF2> | |
unary_compose< UF1, UF2 > | instigate::stl::compose (UF1 f1, UF2 f2) |
helper function to use for unary composition | |
template<typename BP> | |
bnot2< BP > | instigate::stl::not2 (BP p) |
Negates the result of binary predicate. | |
template<typename UP> | |
unot1< UP > | instigate::stl::not1 (UP p) |
Negates the result of unary predicate. |
Copyright © 2008-2010 Instigate CJSC, Armenia
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc.
Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Copyright © 1994 Hewlett-Packard Company
Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.