mp_units::pi

The mathematical constant π, exposed as a dimensionless named constant

Synopsis

Declared in <mp-units/framework/unit_conversion.h>

struct pi final
    : named_constant<symbol_text<3UL - 1, 3UL - 1>{u8"\317\200", "pi"}, mag<pi_c> * one>

Base Classes

NameDescription
named_constant<symbol_text<3UL - 1, 3UL - 1>{u8"\317\200", "pi"}, mag<pi_c> * one>A constant defined in terms of a unit