nxpp
Header-only graph utilities on top of Boost Graph Library
Loading...
Searching...
No Matches
numeric.hpp File Reference

Shared numeric conversion helpers for attribute-backed APIs. More...

#include <any>
#include <optional>
Include dependency graph for numeric.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
std::optional< double > nxpp::detail::try_numeric_any_cast_as_double (const std::any &value)
 
std::optional< double > nxpp::detail::try_numeric_any_cast (const std::any &value)
 

Detailed Description

Shared numeric conversion helpers for attribute-backed APIs.