2024-02-03 22:02:01 +01:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
|
|
|
|
@file include/xpr/func.h
|
|
|
|
@brief Special function objects declarations.
|
|
|
|
|
|
|
|
Copyright (c) 2024 Christian Zimmermann. All rights reserved.
|
|
|
|
Mail: chizeta@f3l.de
|
|
|
|
|
|
|
|
**/
|
2022-10-30 22:28:40 +01:00
|
|
|
|
|
|
|
#ifndef __cxz_func_h__
|
|
|
|
#define __cxz_func_h__
|
|
|
|
|
|
|
|
#include "base/base.h"
|
|
|
|
|
|
|
|
namespace CNORXZ
|
|
|
|
{
|
|
|
|
class ZeroF
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
template <typename... T>
|
|
|
|
constexpr decltype(auto) operator()(const T&... as) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
class NoF
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
template <typename... T>
|
|
|
|
constexpr decltype(auto) operator()(const T&... as) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|