Euphoria
stdutils.h File Reference
#include <map>
#include <algorithm>
#include "assert/assert.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 

Functions

template<typename K , typename V >
std::vector< K > eu::core::get_keys (const std::map< K, V > &m)
 
template<typename K >
std::vector< K > eu::core::get_sorted (const std::vector< K > &k)
 
template<typename K , typename V >
std::vector< std::string > eu::core::get_keys_as_strings (const std::map< K, V > &m)
 
template<typename T >
bool eu::core::swap_back_and_erase_object (T what, std::vector< T > *from)
 
template<typename T , typename TFunc >
void eu::core::remove_matching (std::vector< T > *v, TFunc condition)
 
template<typename T , typename TFunc >
std::vector< T >::iterator eu::core::find_first (std::vector< T > &v, TFunc condition)
 
template<typename E >
constexpr std::underlying_type< E >::type eu::core::base_cast (E e) noexcept