#include <slice_error.hh>
Classes | |
struct | N |
choose a number statically or dynamically. More... | |
Static Public Member Functions | |
static void | check () |
static void | check (int size, int start, int length) |
For internal use only.
static void check | ( | ) | [static] |
Check the slice. This is full static checking, which is stricter than mixed chacking. For instance, none of the slice parameters. This should be used in addition to the other check function. are allowed to be -1 (Dynamic).
For internal use only.
Referenced by CheckSlice< Size, Start, Length >::check().
static void check | ( | int | size, | |
int | start, | |||
int | length | |||
) | [static] |
Check the slice. The policy is that static sized where present are used. However, for extra debugging one can test to see if the static and dynamic sizes are mismatched. any sense whatsoever.
For internal use only.
size | Vector size | |
start | Start position of the slice | |
length | Length of the slice. |
References CheckSlice< Size, Start, Length >::check(), and TooN::Dynamic.