adding array type
This commit is contained in:
parent
5877435927
commit
c2b84e8f84
1 changed files with 14 additions and 0 deletions
14
include/fc/array.hpp
Normal file
14
include/fc/array.hpp
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#ifndef _FC_ARRAY_HPP_
|
||||||
|
#define _FC_ARRAY_HPP_
|
||||||
|
|
||||||
|
namespace fc {
|
||||||
|
|
||||||
|
template<typename T, size_t N>
|
||||||
|
class array {
|
||||||
|
public:
|
||||||
|
T data[N];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // _FC_ARRAY_HPP_
|
||||||
Loading…
Reference in a new issue