Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
enumeration_names.hpp File Reference

Provides auxiliary information. More...

#include <iostream>
#include <string_view>
#include <unordered_map>
#include <sharg/platform.hpp>
+ Include dependency graph for enumeration_names.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sharg::custom::parsing< t >
 A type that can be specialised to provide customisation point implementations for the sharg::parser such that third party types may be adapted. More...
 
struct  sharg::detail::priority_tag< I >
 A tag that allows controlled overload resolution via implicit base conversion rules. More...
 
struct  sharg::detail::priority_tag< 0 >
 Recursion anchor for sharg::detail::priority_tag. More...
 
struct  sharg::detail::adl_only::enumeration_names_cpo< option_t >
 Customization Point Object (CPO) definition for sharg::enumeration_names. More...
 

Concepts

concept  sharg::named_enumeration
 Checks whether the free function sharg::enumeration_names can be called on the type.
 

Variables

template<typename t >
std::unordered_map< std::string_view, t > sharg::detail::adl_only::enumeration_names (t)=delete
 Poison-pill overload to prevent non-ADL forms of unqualified lookup.
 
Customisation Points
template<typename option_type >
auto const sharg::enumeration_names = detail::adl_only::enumeration_names_cpo<option_type>{}()
 Return a conversion map from std::string_view to option_type.
 

Detailed Description

Provides auxiliary information.

Author
Svenja Mehringer <svenja.mehringer AT fu-berlin.de>
Hide me