25 lines
470 B
C++
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
|