C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::set_zero_value_impl< T > Struct Template Reference

#include <exprtk.hpp>

Static Public Member Functions

static void process (T *base_ptr, const std::size_t size)

Detailed Description

template<typename T>
struct exprtk::details::set_zero_value_impl< T >

Definition at line 764 of file exprtk.hpp.

Member Function Documentation

◆ process()

template<typename T>
void exprtk::details::set_zero_value_impl< T >::process ( T * base_ptr,
const std::size_t size )
inlinestatic

Definition at line 766 of file exprtk.hpp.

767 {
768 const T zero = T(0);
769 for (std::size_t i = 0; i < size; ++i)
770 {
771 base_ptr[i] = zero;
772 }
773 }

Referenced by exprtk::details::set_zero_value().

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: