Lumiera
0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
trait-special.hpp
Go to the documentation of this file.
1
/*
2
TRAIT-SPECIAL.hpp - supplement, not so commonly used definitions and specialisations
3
4
Copyright (C)
5
2010, Hermann Vosseler <Ichthyostega@web.de>
6
7
**Lumiera** is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by the
9
Free Software Foundation; either version 2 of the License, or (at your
10
option) any later version. See the file COPYING for further details.
11
12
*/
13
14
28
#ifndef LIB_META_TRAIT_SPECIAL_H
29
#define LIB_META_TRAIT_SPECIAL_H
30
31
32
#include "
lib/meta/trait.hpp
"
33
34
#include <unordered_map>
35
36
37
namespace
lib
{
38
namespace
meta {
39
40
48
template
<
typename
KEY,
typename
VAL,
typename
HASH>
49
struct
can_STL_ForEach
<
std
::unordered_map<KEY,VAL,HASH>>
50
{
51
enum
{
value
=
true
};
52
};
53
54
55
56
}}
// namespace lib::meta
57
#endif
lib::meta::can_STL_ForEach
Trait template to detect a type usable with the STL for-each loop.
Definition
trait.hpp:556
lib::meta::can_STL_ForEach::value
@ value
Definition
trait.hpp:609
lib
Implementation namespace for support and library code.
Definition
common-services.cpp:55
std
STL namespace.
trait.hpp
Helpers for type detection, type rewriting and metaprogramming.
lib
meta
trait-special.hpp
Generated on Fri Nov 7 2025 for Lumiera by
1.9.8