Skip to content
Compile-time size calculation of arrays-pointers.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE.txt
Makefile
README.md
array_size.cpp

README.md

Build Status

A simple example how to get the size of an array, which is passed via pointer in a template argument.

Compiles with

  • g++ 4.8.1 (except for empty strings, a compiler bug) and
  • clang++ 3.3
You can’t perform that action at this time.