Dev Essential  1.6.3
Loading...
Searching...
No Matches
access_validation.h
Go to the documentation of this file.
1
14
15#ifndef DD_DD_ACCESS_VALIDATION_H_INCLUDED
16#define DD_DD_ACCESS_VALIDATION_H_INCLUDED
17
19
20#include <algorithm>
21#include <iterator>
22#include <optional>
23#include <string>
24#include <vector>
25
26namespace ddl {
27namespace dd {
28namespace utility {
32namespace detail {
37template<typename T> struct TypeValidationInfo {
41 static constexpr auto _other_types = "";
45 static std::string getDifference(const T& /*left*/, const T& /*right*/) {
46 return "different";
47 }
48};
49
50} // namespace detail
51} // namespace utility
52} // namespace dd
53} // namespace ddl
54
55#endif // DD_DD_ACCESS_VALIDATION_H_INCLUDED
Definition datamodel_keyvalue.h:160
definition of the old compatibility utility namespace
Definition datamodel_keyvalue.h:160
definition of the dd namespace
Definition datamodel_base.h:26
definition of the ddl namespace
Definition codec.h:21
Validation helper template for clear excpetion messages.
Definition access_validation.h:37
static constexpr auto _other_types
validation other types
Definition access_validation.h:41
static std::string getDifference(const T &, const T &)
validation difference message
Definition access_validation.h:45