MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / ordered_map

Function ordered_map

examples/server/json.hpp:18926–18926  ·  view source on GitHub ↗

Explicit constructors instead of `using Container::Container` otherwise older compilers choke on it (GCC <= 5.5, xcode <= 9.4)

Source from the content-addressed store, hash-verified

18924 // Explicit constructors instead of `using Container::Container`
18925 // otherwise older compilers choke on it (GCC <= 5.5, xcode <= 9.4)
18926 ordered_map() noexcept(noexcept(Container())) : Container{} {}
18927 explicit ordered_map(const Allocator& alloc) noexcept(noexcept(Container(alloc))) : Container{alloc} {}
18928 template <class It>
18929 ordered_map(It first, It last, const Allocator& alloc = Allocator())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected