Explicit noncopyableness, static_assert.hpp --> util.hpp

This commit is contained in:
Pavel Kirienko
2014-02-09 21:28:10 +04:00
parent 56a69a4ba0
commit 017863a32d
7 changed files with 24 additions and 16 deletions
+3 -2
View File
@@ -9,6 +9,7 @@
#include <uavcan/internal/linked_list.hpp>
#include <uavcan/internal/impl_constants.hpp>
#include <uavcan/internal/dynamic_memory.hpp>
#include <uavcan/internal/util.hpp>
namespace uavcan
{
@@ -20,8 +21,8 @@ namespace uavcan
* Key's default constructor must initialize the object into invalid state.
* Size of Key + Value + padding must not exceed MEM_POOL_BLOCK_SIZE.
*/
template <typename Key, typename Value, unsigned int NUM_STATIC_ENTRIES = 1>
class Map
template <typename Key, typename Value, unsigned int NUM_STATIC_ENTRIES>
class Map : Noncopyable
{
#pragma pack(push, 1)
struct KVPair