PLearn 0.1
Classes | Namespaces | Functions
SmallVector.h File Reference
#include <typeinfo>
#include <algorithm>
#include "ArrayAllocatorTrivial.h"
#include "general.h"
Include dependency graph for SmallVector.h:

Go to the source code of this file.

Classes

class  PLearn::SmallVector< T, SizeBits, Allocator >

Namespaces

namespace  PLearn
 

< for swap


Functions

template<class T , unsigned SizeBits, class Allocator >
unsigned int PLearn::hashval (const SmallVector< T, SizeBits, Allocator > &v)
 hash function for hash tables
template<class T , unsigned SizeBits, class Allocator >
bool PLearn::operator== (const SmallVector< T, SizeBits, Allocator > &a, const SmallVector< T, SizeBits, Allocator > &b)
 Equality operator.
template<class T , unsigned SizeBits, class Allocator >
bool PLearn::operator!= (const SmallVector< T, SizeBits, Allocator > &x, const SmallVector< T, SizeBits, Allocator > &y)
 const SmallVector<T,SizeBits,Allocator>& y) { return !(x==y); }
template<class T , unsigned SizeBits>
bool PLearn::operator< (const SmallVector< T, SizeBits > &, const SmallVector< T, SizeBits > &)
 Lexicographical Ordering.
template<class T , unsigned SizeBits, class Allocator >
bool PLearn::operator< (const SmallVector< T, SizeBits, Allocator > &x, const SmallVector< T, SizeBits, Allocator > &y)

Detailed Description

Definition in file SmallVector.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines