ORM C++
Loading...
Searching...
No Matches
orm::utils Namespace Reference

Functions

template<auto Start, auto End, auto Inc, class F, class... Args>
constexpr auto constexpr_for (F &&f, Args... args) -> void
template<class Tuple, class F, class... Args>
constexpr auto constexpr_for_tuple (Tuple &&t, F &&f, Args... args) -> void
template<class Tuple, class F, class... Args>
constexpr auto constexpr_for_tuple (F &&f, Args... args) -> void
constexpr auto replaceAll (std::string &text, const std::string &toReplace, const std::string &replaceWith) -> void
auto removeLastComma (std::string &text) -> void

Function Documentation

◆ constexpr_for()

template<auto Start, auto End, auto Inc, class F, class... Args>
auto orm::utils::constexpr_for ( F && f,
Args... args ) -> void
constexprexport

Definition at line 17 of file utilities.cppm.

◆ constexpr_for_tuple() [1/2]

template<class Tuple, class F, class... Args>
auto orm::utils::constexpr_for_tuple ( F && f,
Args... args ) -> void
constexprexport

Definition at line 34 of file utilities.cppm.

◆ constexpr_for_tuple() [2/2]

template<class Tuple, class F, class... Args>
auto orm::utils::constexpr_for_tuple ( Tuple && t,
F && f,
Args... args ) -> void
constexprexport

Definition at line 27 of file utilities.cppm.

◆ removeLastComma()

auto orm::utils::removeLastComma ( std::string & text) -> void
export

◆ replaceAll()

auto orm::utils::replaceAll ( std::string & text,
const std::string & toReplace,
const std::string & replaceWith ) -> void
constexprexport

Definition at line 52 of file utilities.cppm.