Search:
Forum
General C++ Programming
ZED
ZED
May 5, 2009 at 4:15pm UTC
VictorH
(41)
"...always pad unused vector elements with constant ZED" in an assignment instruction.
Is there some nifty global constant called ZED, or does this probably mean to create a constant called ZED of the vector element type?
May 5, 2009 at 6:36pm UTC
csiz
(34)
it probably means that you have to create it yourself. 0,-1, numeric_limits<int>::max() (/min) are good constants depending on what do you want to use the vector for.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs