cnorxz/src/include/xpr/func.cc.h

35 lines
547 B
C
Raw Normal View History

2024-02-03 22:02:01 +01:00
// -*- C++ -*-
/**
@file include/xpr/func.cc.h
@brief Special function objects implementations.
Copyright (c) 2024 Christian Zimmermann. All rights reserved.
Mail: chizeta@f3l.de
**/
2022-10-30 22:28:40 +01:00
#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