Skip to content

iris::build::Host Class Reference

Doxygen 1.15.0 generates this reference during each site build from the public headers. The C++ guide shows the API in use.

A host constant (Specification §8.11), which Iris spells with the host's prefix. More...

#include <iris/build.hpp>

Public Member Functions

constexpr Host (detail::HostName, std::string_view name)
 The constant name, without the prefix; see the constants in namespace host.
constexpr std::string_view name () const
 Return the name of the constant, without the prefix.
Expr< Dynamic, Scalar > dynamic () const
 This constant with its type forgotten, as an expression; lit(c) keeps the type.

Detailed Description

A host constant (Specification §8.11), which Iris spells with the host's prefix.

Constructor & Destructor Documentation

Host()

iris::build::Host::Host ( detail::HostName ,
std::string_view name )
inlineconstexpr

The constant name, without the prefix; see the constants in namespace host.

Member Function Documentation

dynamic()

Expr< Dynamic, Scalar > iris::build::Host::dynamic ( ) const
inlinenodiscard

This constant with its type forgotten, as an expression; lit(c) keeps the type.

name()

std::string_view iris::build::Host::name ( ) const
inlinenodiscardconstexpr

Return the name of the constant, without the prefix.