Go to the documentation of this file.
37 #ifndef HashTableDetail_H
38 #define HashTableDetail_H
43 #include <type_traits>
52 template<
class T>
class autoPtr;
68 template<
class T>
struct isPointerLike<std::unique_ptr<T>> : std::true_type {};
79 template<
class K,
class V>
119 template<
class... Args>
152 template<
class TypeT = V>
153 typename std::enable_if
156 std::is_pointer<TypeT>::value
172 template<
class TypeT = V>
173 typename std::enable_if
176 !std::is_pointer<TypeT>::value
234 template<
class... Args>
HashTableSingle(const HashTableSingle &)=delete
void operator=(const HashTablePair &)=delete
std::enable_if<(!std::is_pointer< TypeT >::value &&!Detail::isPointerLike< TypeT >::value), void >::type print(Ostream &os) const
CGAL::Exact_predicates_exact_constructions_kernel K
static constexpr bool stores_value() noexcept
const key_type & key() const
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const mapped_type & cval() const
OBJstream os(runTime.globalPath()/outputName)
HashTablePair(const HashTablePair &)=delete
const mapped_type & cval() const
Internal storage type for HashTable.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Foam::zero::null mapped_type
static constexpr bool stores_value() noexcept
const key_type & key() const
fileName::Type type(const fileName &name, const bool followLink=true)
void print(Ostream &os) const
void operator=(const HashTableSingle &)=delete
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Foam::argList args(argc, argv)
std::enable_if<(std::is_pointer< TypeT >::value||Detail::isPointerLike< TypeT >::value), void >::type print(Ostream &os) const