File size: 470 Bytes
8ae5fc5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include <metal.hpp>
#include "example.hpp"
HIDE(
/// [expr1]
template<class... vals>
using expr = metal::number<sizeof...(vals)>;
/// [expr1]
)
HIDE(
/// [expr2]
template<class x, class y>
struct expr;
/// [expr2]
)
HIDE(
/// [not_an_expr1]
template<template<class...> class...> // non-type parameter
struct not_an_expr;
/// [not_an_expr1]
)
HIDE(
/// [not_an_expr2]
template<int v> // non-type parameter
using not_an_expr = metal::number<v>;
/// [not_an_expr2]
)
|