Templates can have template parameters that are values rather than types.
You cannot use floating-point numbers, class-type objects, and pointers to objects with internal linkage (such as string literals) as arguments for nontype template parameters.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.