This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <utility> | |
#include <array> | |
template <auto...> | |
struct value_list | |
{}; | |
template <class T, auto... Keys> | |
struct map_ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <array> | |
#include <type_traits> | |
#include <utility> | |
// | |
template <auto... Vs> | |
struct auto_t | |
{ static auto constexpr size = sizeof...(Vs); }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <functional> | |
// | |
struct validator | |
{ | |
template <template <class...> class, class...> | |
static auto constexpr is_valid(...) | |
-> std::false_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstddef> | |
#include <algorithm> | |
#include <array> | |
#include <iostream> | |
using std::size_t; | |
auto constexpr calculate(size_t row, size_t column, size_t width, size_t height, size_t value = 0) | |
{ | |
--width; |
NewerOlder