Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ Template Question

Name: Anonymous 2012-10-07 21:47


template <size_t N>
void print_members(int (&arr)[N]) { ... }


so is C++ going to create a new function for every different sized array I use

Name: Anonymous 2012-10-08 8:06

>>7
Everything related to templates is bloated like fuck.
For example, std::cout << "Hello world" << std::endl; usually compiles into a 500K~ binary.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List