Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Helpers
IteratorHelpers.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include <vector>
7
8
namespace
Eegeo
9
{
10
namespace
Helpers
11
{
12
template
<
typename
T,
size_t
N>
13
T* end(T (&array)[N])
14
{
15
return
array + N;
16
}
17
18
template
<
typename
T,
size_t
N >
19
std::vector<T> makeVector(
const
T (&array)[N] )
20
{
21
return
std::vector<T>(array, array + N);
22
}
23
}
24
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1