convert a type into constant type More...
Data Structures | |
struct | Debug |
class | vector |
Implementation of 1-D std::vector like structure. More... | |
class | vector< T, PtrMemory, typename memory_traits_lin< T >::type, memory_traits_lin, gp, STD_VECTOR > |
struct | add_prp_impl |
struct to merge two vectors More... | |
struct | add_prp_impl< OBJECT_ADD, vect_dst > |
struct to merge two vectors More... | |
class | vector< T, HeapMemory, typename memory_traits_lin< T >::type, memory_traits_lin, grow_policy_double, STD_VECTOR > |
Implementation of 1-D std::vector like structure. More... | |
class | vector< T, Memory, layout, layout_base, grow_p, OPENFPM_NATIVE > |
Implementation of 1-D std::vector like structure. More... | |
class | grow_policy_identity |
Grow policy define how the vector should grow every time we exceed the size. More... | |
class | grow_policy_double |
Grow policy define how the vector should grow every time we exceed the size. More... | |
class | grow_policy_page |
Grow policy define how the vector should grow every time we exceed the size. More... | |
struct | vect_isel |
It analyze the type given and it select correctly the implementation for vector. More... | |
class | vector_key_iterator |
Vector iterator. More... | |
class | vector_key_iterator_seq |
Vector iterator. More... | |
Typedefs | |
template<typename T > | |
using | vector_std = vector< T, HeapMemory, typename memory_traits_lin< T >::type, memory_traits_lin, openfpm::grow_policy_double, STD_VECTOR > |
typedef grow_policy_double | vector_grow_policy_default |
default grow policy | |
Functions | |
template<class T > | |
constexpr std::add_const< T > ::type & | as_const (T &t) noexcept |
template<typename T , typename P > | |
auto | distance (T exp1, P exp2) -> decltype(norm(exp1-exp2)) |
General distance formula. More... | |
convert a type into constant type
T | type tp convert |
auto openfpm::distance | ( | T | exp1, |
P | exp2 | ||
) | -> decltype(norm(exp1 - exp2)) |
General distance formula.
Definition at line 299 of file vector_dist_operators_functions.hpp.