This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/src/linear_element_access.hh

25 lines
470 B
C++

//
// php-armadillo/linear_element_access.hh
//
// @Author CismonX
//
#ifndef PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH
#define PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH
#include "common/php_arma.hh"
namespace php_arma
{
template <typename T, typename ChildT>
struct linear_element_access
{
using native_t = typename ChildT::native_t;
static PHP_FUNCTION(__invoke);
static PHP_FUNCTION(at);
};
}
#endif // !PHP_ARMA_LINEAR_ELEMENT_ACCESS_HH