|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <cmath>#include <cstdint>#include <limits>#include <string>#include <type_traits>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | pineforge |
| namespace | pineforge::na_detail |
Functions | |
| template<typename T> | |
| void | pineforge::na_detail::is_na (const T &)=delete |
| template<typename T> | |
| auto | pineforge::na_detail::call_adl_is_na (const T &value) -> decltype(static_cast< bool >(is_na(value))) |
| template<typename T> | |
| T | pineforge::na () |
| template<> | |
| double | pineforge::na< double > () |
| template<> | |
| int | pineforge::na< int > () |
| template<> | |
| int64_t | pineforge::na< int64_t > () |
| template<> | |
| bool | pineforge::na< bool > () |
| bool | pineforge::is_na (double v) |
| template<typename T, typename = std::enable_if_t<std::is_integral_v<T> && !std::is_same_v<T, bool>>> | |
| bool | pineforge::is_na (T v) |
| template<class T> | |
| bool | pineforge::is_na (const ScriptArray< T > &value) |
| bool | pineforge::is_na (const std::string &value) |
| template<typename T, std::enable_if_t< !std::is_arithmetic_v< T > &&!std::is_convertible_v< T, double > &&!std::is_convertible_v< T &, double > &&!std::is_convertible_v< const T &, double > &&!std::is_convertible_v< const T &, const std::string & >, int > = 0> | |
| bool | pineforge::is_na (const T &value) |