Sleipnir C++ API
Loading...
Searching...
No Matches
std::formatter< slp::Inertia > Struct Reference

Formatter for Inertia. More...

#include </home/runner/work/Sleipnir/Sleipnir/include/sleipnir/optimization/solver/util/inertia.hpp>

Public Member Functions

constexpr auto parse (std::format_parse_context &ctx)
 
template<typename FmtContext >
auto format (const slp::Inertia &inertia, FmtContext &ctx) const
 

Detailed Description

Formatter for Inertia.

Member Function Documentation

◆ format()

template<typename FmtContext >
auto std::formatter< slp::Inertia >::format ( const slp::Inertia inertia,
FmtContext &  ctx 
) const
inline

Formats Inertia.

Template Parameters
FmtContextFormat context type.
Parameters
inertiaInertia.
ctxFormat context.
Returns
Format context iterator.

◆ parse()

constexpr auto std::formatter< slp::Inertia >::parse ( std::format_parse_context &  ctx)
inlineconstexpr

Parses format string.

Parameters
ctxFormat parse context.
Returns
Format parse context iterator.

The documentation for this struct was generated from the following file: