PrevUpHomeNext

kpp::real_number


---- kpp::real_number << Basic Concepts << Type System << Kpp c++ ----

kpp::real_number is a c++ concept of kpp c++ library. It is used for constraint a kpp c++ real number type.

kpp c++ real number group is joined by unsigned integrals, signed integrals, floating points, character types, and boolean types.

kpp::real_number Sig:

template <typename type_t00>
concept real_number = ...;

include

#include <kpp/types.hpp>

c++ example

#include <kpp/types.hpp>

static_assert(kpp::real_number<int>);

template <kpp::real_number type_t00>
class test
{
};

int main()
{
	auto obj = test<char>{};
}

See Also

kpp::integral

kpp::floating_point

Back

Up










Deck

Kpp Home


PrevUpHomeNext