ComPPare 1.0.0
Loading...
Searching...
No Matches
comppare::outspec< Value, Policy > Struct Template Reference

Partial specialization of outspec for user-defined error policy selection. More...

#include <comppare.hpp>

Public Types

using outtype_t = std::decay_t< Value >
 
using policy_t = Policy
 

Detailed Description

template<typename Value, typename Policy>
requires comppare::internal::policy::ErrorPolicy<Value, Policy>
struct comppare::outspec< Value, Policy >

Partial specialization of outspec for user-defined error policy selection.

Note
This specialisation is not strictly required in this context as outspec<outspec<T, P>, void> would be sufficient. However, it is included for clarity and to explicitly handle the case where both Value and Policy are provided.
See also
outspec
Template Parameters
Value
Policy

Member Typedef Documentation

◆ outtype_t

template<typename Value , typename Policy >
using comppare::outspec< Value, Policy >::outtype_t = std::decay_t<Value>

◆ policy_t

template<typename Value , typename Policy >
using comppare::outspec< Value, Policy >::policy_t = Policy

The documentation for this struct was generated from the following file: