mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
Precisely 4 template arguments for the sake of clang 3.6 (?)
This commit is contained in:
@ -11,12 +11,12 @@ namespace nlohmann
|
||||
/// ordered_map: a minimal map-like container that preserves insertion order
|
||||
/// for use within nlohmann::basic_json<ordered_map>
|
||||
template <class Key, class T, class IgnoredLess = std::less<Key>,
|
||||
class Allocator = std::allocator<std::pair<const Key, T>>,
|
||||
class Container = std::vector<std::pair<const Key, T>, Allocator>>
|
||||
struct ordered_map : Container
|
||||
class Allocator = std::allocator<std::pair<const Key, T>>>
|
||||
struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
|
||||
{
|
||||
using key_type = Key;
|
||||
using mapped_type = T;
|
||||
using Container = std::vector<std::pair<const Key, T>, Allocator>;
|
||||
using typename Container::iterator;
|
||||
using typename Container::size_type;
|
||||
using typename Container::value_type;
|
||||
|
Reference in New Issue
Block a user