gslcpp
Modern-C++ Wrapper for GSL

The template-class gsl::v_iface provides the bulk of the C++ interface to GSL's vector.

gsl::v_iface has two descendants, gsl::vector and gsl::vector_view.

  • gsl::vector provides constructors, each of which allocates memory for a new vector.
  • gsl::vector_view provides constructors, each of which provides a view into an existing C-style array.

Additionally, any instance of gsl::v_iface has member functions, each of which provies a view like that provided by construction of gsl::vector_view:

A good overview of the interface can be found by looking at the documentation for