Dune Core Modules (2.5.0)

Dune::ImplementationDefined Struct Reference

Dummy struct used for documentation purposes. More...

#include <dune/common/documentation.hh>

Detailed Description

Dummy struct used for documentation purposes.

This struct can be used for documenting interfaces. One example would be:

// Traits class that determines some property for some other type T
template<class T>
class SomeTraits {
"Sorry, SomeTraits must be specialized for all types");
public:
// The type of some property of T
typedef ImplementationDefined type;
};
#ifndef DOXYGEN
template<>
struct SomeTraits<int>
typedef ... type;
};
// ...
#endif // DOXYGEN
Dummy struct used for documentation purposes.
Definition: documentation.hh:39
template mapping a type to std::false_type
Definition: type_traits.hh:63
See also
implementationDefined

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)