Connecting Tech Pros Worldwide Forums | Help | Site Map

"exceptional c++", "c++ template programming"

Hicham Mouline
Guest
 
Posts: n/a
#1: Nov 18 '08
Hello,

I am looking for an example of a constructor, I think,
which took the type itself for integral or floating types,
and a const-ref for a user-defined non primitive type.

I saw this in one of these books but I can't find it now:

"Exceptional C++"
"Exceptional C++ Style"
"C++ template programming MPL"

if anyone remembers this passage for these books?



Hicham Mouline
Guest
 
Posts: n/a
#2: Nov 18 '08

re: "exceptional c++", "c++ template programming"


I found it. It was the MPL book, right before 4.1.2


"Hicham Mouline" <hicham@mouline.orgwrote in message
news:49228a87$0$90275$14726298@news.sunsite.dk...
Quote:
Hello,
I am looking for an example of a constructor, I think,
which took the type itself for integral or floating types,
and a const-ref for a user-defined non primitive type.
>
I saw this in one of these books but I can't find it now:
>
"Exceptional C++"
"Exceptional C++ Style"
"C++ template programming MPL"
>
if anyone remembers this passage for these books?

Closed Thread