rosa/inc/alsk/skeleton/link/args/placeholders.h

33 lines
605 B
C
Raw Normal View History

2021-05-10 16:14:24 +00:00
#ifndef ALSK_ALSK_SKELETON_LINK_ARGS_PLACEHOLDERS_H
#define ALSK_ALSK_SKELETON_LINK_ARGS_PLACEHOLDERS_H
#include <cstdint>
#include <tmp/pack.h>
namespace alsk {
namespace arg {
/**
* @brief argument placeholder for parameters
*/
template<std::size_t I>
struct P: std::integral_constant<std::size_t, I> {};
/**
* @brief argument placeholder for returned values
*/
template<std::size_t I>
struct R: std::integral_constant<std::size_t, I> {};
/**
* @brief argument placeholder for contextual arguments
*/
template<std::size_t I>
struct C: std::integral_constant<std::size_t, I> {};
}
}
#endif