![]() |
Implementation of a vector for (polymorphic) pointers. More...
#include <algorithm>
#include <blaze/util/Algorithm.h>
#include <blaze/util/Assert.h>
#include <blaze/util/constraints/Convertible.h>
#include <blaze/util/constraints/DerivedFrom.h>
#include <blaze/util/Exception.h>
#include <blaze/util/Null.h>
#include <blaze/util/policies/PtrDelete.h>
#include <blaze/util/policies/OptimalGrowth.h>
#include <blaze/util/PtrIterator.h>
#include <blaze/util/Template.h>
#include <blaze/util/Types.h>
Go to the source code of this file.
Classes | |
class | blaze::PtrVector< T, D, G > |
Implementation of a vector for (polymorphic) pointers. More... | |
class | blaze::PtrVector< T, D, G >::CastIterator< C > |
Dynamic cast iterator for polymorphic pointer vectors.The CastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. More... | |
class | blaze::PtrVector< T, D, G >::ConstCastIterator< C > |
Dynamic cast iterator for polymorphic pointer vectors.The ConstCastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. The ConstCastIterator is the counterpart of CastIterator for constant vectors. More... | |
class | blaze::PtrVector< T, D, G >::CastIterator< C > |
Dynamic cast iterator for polymorphic pointer vectors.The CastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. More... | |
class | blaze::PtrVector< T, D, G >::ConstCastIterator< C > |
Dynamic cast iterator for polymorphic pointer vectors.The ConstCastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. The ConstCastIterator is the counterpart of CastIterator for constant vectors. More... | |
Namespaces | |
blaze | |
Namespace of the Blaze C++ math library. | |
Functions | |
PtrVector operators | |
template<typename T , typename D , typename G > | |
bool | blaze::operator== (const PtrVector< T, D, G > &lhs, const PtrVector< T, D, G > &rhs) |
Equality comparison between two pointer vectors. More... | |
template<typename T , typename D , typename G > | |
bool | blaze::operator!= (const PtrVector< T, D, G > &lhs, const PtrVector< T, D, G > &rhs) |
Inequality comparison between two pointer vectors. More... | |
template<typename T , typename D , typename G > | |
void | blaze::swap (PtrVector< T, D, G > &a, PtrVector< T, D, G > &b) |
Swapping the contents of two pointer vectors. More... | |
Implementation of a vector for (polymorphic) pointers.
Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
This file is part of the Blaze library. You can redistribute it and/or modify it under the terms of the New (Revised) BSD License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.