Skip to content

could use some help with an elementary example #695

@VictorEijkhout

Description

@VictorEijkhout

It looks like all your examples are for SI. Can you help me get this going:

#include <mp-units/systems/si.h>
using namespace mp_units;
inline constexpr struct person final : named_unit<"p"> {} person;

int main( int argc,char const * const * argv ) {

  auto classroom  = 30 * person;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions