gtopt/utils.hpp file

General purpose utility functions and helpers.

This module provides various utility functions for:

  • Container operations (merging, filtering)
  • Range/view operations (enumerating, filtering)
  • Optional value handling
  • Common predicates

Namespaces

namespace gtopt

Classes

template<typename IndexType IndexType = std::size_t>
struct gtopt::enumerate_adapter
template<typename T T>
class gtopt::IotaRange
class gtopt::IotaRange::iterator