Instigate Open Source Documentation

src/stl/_basis.hpp File Reference

Definition of the basis. More...

#include "concept.hpp"
#include "_destructible_iterator.hpp"
#include <generic/base.hpp>

Go to the source code of this file.

Namespaces

namespace  instigate
namespace  instigate::stl
namespace  instigate::stl::implementation

Functions

template<typename T>
void instigate::stl::assign (T &a, const T &b)
 Assign b to a.
template<typename T>
T * instigate::stl::copy_constructor (char *const ptr, const T &ob)
 Make copy of the specified object.
template<typename T>
bool instigate::stl::equal (const T &a, const T &b)
 Compare the objects a and b for equality.
template<typename T>
T * instigate::stl::initialize (char *const p)
 Create a new object and initialize it.
template<typename T>
void instigate::stl::increment (T &a)
 Increment the argument.
template<typename T>
const
instigate::stl::readable_iterator::interface
< T >::value_type & 
instigate::stl::const_dereference (const T &a)
 Dereference the iterator.
template<typename T>
instigate::stl::lvalue_iterator::interface
< T >::value_type & 
instigate::stl::dereference (const T &a)
 Dereference the iterator.
template<typename T>
void instigate::stl::dereference_assign (T a, const typename stl::writable_iterator::interface< T >::value_type &b)
 Assign b to dereference of a.
template<typename T>
void instigate::stl::dereference_assign (std::ostream_iterator< T > a, const T &b)
 Assign b to dereference of a.
template<typename T>
bool instigate::stl::less_than (const T &a, const T &b)
 Compare the objects a and b.
template<typename T>
void instigate::stl::decrement (T &a)
 Decrement the argument.
template<typename G>
instigate::stl::generator::interface
< G >::result_type 
instigate::stl::invoke (const G &g)
 Invoke the function.
template<typename UF>
instigate::stl::unary_function::interface
< UF >::result_type 
instigate::stl::invoke (const UF &f, typename instigate::stl::unary_function::interface< UF >::argument_type a)
 Invoke the function on given argument.
template<typename BF>
instigate::stl::binary_function::interface
< BF >::result_type 
instigate::stl::invoke (const BF &f, typename instigate::stl::binary_function::interface< BF >::first_argument_type a1, typename instigate::stl::binary_function::interface< BF >::second_argument_type a2)
 Invoke the function on given arguments.
template<typename UP>
bool instigate::stl::invoke_predicate (const UP &f, typename instigate::stl::unary_predicate::interface< UP >::argument_type a)
 Invoke the function on given argument.
template<typename BP>
bool instigate::stl::invoke_predicate (const BP &f, typename instigate::stl::binary_predicate::interface< BP >::first_argument_type a1, typename instigate::stl::binary_predicate::interface< BP >::second_argument_type a2)
 Invoke the function on given arguments.
template<typename TF>
instigate::stl::ternary_function::interface
< TF >::result_type 
instigate::stl::invoke (const TF &f, typename instigate::stl::ternary_function::interface< TF >::first_argument_type a1, typename instigate::stl::ternary_function::interface< TF >::second_argument_type a2, typename instigate::stl::ternary_function::interface< TF >::third_argument_type a3)
 Invoke the function on given arguments.
template<typename T>
void instigate::stl::destroy (T b, T e)
 Destroy objects from b to e.
template<typename T>
void instigate::stl::implementation::destroy_disp (T b, T e, instigate::stl::false_type)
 Dispatch destroy() function in case of trivial destructor absence.
template<typename T>
void instigate::stl::implementation::destroy_disp (T, T, instigate::stl::true_type)
 Dispatch destroy() function in case of trivial destructor existence.


Detailed Description

Definition of the basis.

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.



© Instigate CJSC, Open Source