Skip to content

Instantly share code, notes, and snippets.

@JohanMabille
Created January 7, 2020 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohanMabille/de5b857e0854ee4331af8a2890cc6e41 to your computer and use it in GitHub Desktop.
Save JohanMabille/de5b857e0854ee4331af8a2890cc6e41 to your computer and use it in GitHub Desktop.
template <class T, layout_type L = XTENSOR_DEFAULT_LAYOUT,
class A = std::allocator<T>>
class xarray
{
public:
xarray(const value_type& t);
xarray(nested_initializer_list_t<value_type, 1> t);
xarray(nested_initializer_list_t<value_type, 2> t);
xarray(nested_initializer_list_t<value_type, 3> t);
xarray(nested_initializer_list_t<value_type, 4> t);
xarray(nested_initializer_list_t<value_type, 5> t);
// ....
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment