Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1645: error with scoped templated operators
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

162 Posts

Posted - Jul 27 2008 :  1:22:10 PM  Show Profile  Reply with Quote
template<class T> void * operator new(size_t, float);

struct Foo
{
    friend void* ::operator new<int>(size_t, float);
};

it shows 'operator' with a red error underline, until I remove the '::' or '<int>'.

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jul 28 2008 :  09:22:57 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=18782

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000