PrevUpHomeNext

kpp::same_as


---- kpp::same_as << Type System << Kpp c++ ----

kpp::same_as is a c++ concept of kpp c++ library. kpp::same_as is used for constraint that a type is the same as another type.

kpp::same_as Sig:

template <typename type_t20, typename type_t21>
concept same_as = ...;

include

#include <kpp/types.hpp>

c++ example

#include <kpp/types.hpp>

int main()
{
	static_assert(kpp::same_as<int, int>);
}

See Also

kpp::not_same_as

kpp::one_of

kpp::not_one_of

kpp::same_assert

Back

Up










Deck

Kpp Home

K


PrevUpHomeNext