Cuda battery library
Loading...
Searching...
No Matches
vector.hpp File Reference
#include "utility.hpp"
#include "allocator.hpp"
#include <memory>
#include <initializer_list>
#include <vector>

Go to the source code of this file.

Classes

class  battery::vector< T, Allocator >
 

Namespaces

namespace  battery
 

Functions

template<class T1 , class Alloc1 , class T2 , class Alloc2 >
CUDA NI bool battery::operator== (const vector< T1, Alloc1 > &lhs, const vector< T2, Alloc2 > &rhs)
 

Detailed Description

A partial implementation of std::vector, with additional constructors to convert from std::vector. The allocator is scoped, meaning it will be passed to the constructor of T if T provides a suited constructor with an allocator.