Please see what I'm trying to do:
#include & lt ; Iostream & gt; First name template {lt; Class T & gt; Class Myclass {t t; Public: Zero who_are_you () const {std :: cout & lt; & Lt; "First :: MyClass"; }}; } Namespace second {use first: myclass; Template & lt; & Gt; Square myclass & lt; Int & gt; {Int i, j; Public: Zero who_are_you () const {std :: cout & lt; & Lt; "Second: MyClass"; }}; } This permission is not allowed, can you please explain why why can not be an expert in different namespaces, and what are available solutions? Also, what's certain in C ++ 0x?
This will allow me for an example, for example std :: max , std :: swap , std :: numeric_limits , etc. :: std :: ? Adding something to
without supporting the undefined behavior @ AndreyT here's how I will use it:
// my_integer is a class std :: numeric_limits & lt; My_integer & gt; :: max (); Can this be done?
Comments
Post a Comment