Search posts, tags, users, and pages
Chisom Hermes Chigoziri
Software Developer
In my previous articles I talked about what templates in C++ are and it's types with examples. Here I'm going to show you a little power of templates, I'm going to model my own array which can take hold multiple types. First I'm going to model an arr...
Yosef Meller
Senior algorithm developer, Stratasys Inc.
It should be noted that if one's not doing it for the learning or fun, in production code it's best to use std::array<> and not reinvent the wheel.
std::array<>
yup, i did it to see if i can do it, i'm a beginner in C++, it was just an experiment
Yosef Meller
Senior algorithm developer, Stratasys Inc.
It should be noted that if one's not doing it for the learning or fun, in production code it's best to use
std::array<>and not reinvent the wheel.