Monero C++ Library
Loading...
Searching...
No Matches
Functions
gen_utils Namespace Reference

Functions

template<class T , typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr>
boost::optional< T > reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, boost::optional< bool > resolve_defined, boost::optional< bool > resolve_true, boost::optional< bool > resolve_max, const std::string &err_msg="")
 
template<class T , typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr>
boost::optional< T > reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, const std::string &err_msg="")
 
template<class T >
std::vector< T > reconcile (const std::vector< T > &v1, const std::vector< T > &v2, const std::string &err_msg="")
 

Detailed Description

Collection of generic utilities.