34 lines
547 B
C++
34 lines
547 B
C++
// -*- C++ -*-
|
|
/**
|
|
|
|
@file include/xpr/func.cc.h
|
|
@brief Special function objects implementations.
|
|
|
|
Copyright (c) 2024 Christian Zimmermann. All rights reserved.
|
|
Mail: chizeta@f3l.de
|
|
|
|
**/
|
|
|
|
#ifndef __cxz_func_cc_h__
|
|
#define __cxz_func_cc_h__
|
|
|
|
#include "func.h"
|
|
|
|
namespace CNORXZ
|
|
{
|
|
|
|
template <typename... T>
|
|
constexpr decltype(auto) ZeroF::operator()(const T&... as) const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
template <typename... T>
|
|
constexpr decltype(auto) NoF::operator()(const T&... as) const
|
|
{
|
|
return;
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|