Whole Tomato Software Forums
Main Site
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Visual Assist
Technical Support
Class is not recognized
You must be registered to post a reply.
Click
here
to register.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Blue
Brown
Green
Red
Violet
Yellow
Message:
Forum code
is on.
Html is off.
[quote][i]Originally posted by geghamyan[/i] [br]Environment: VS2010, VAX 1925 A number of comments in template section of class affects the parsing. The class in the following fragment is not recognized: template < typename T0, // 1 ........................................................ typename T1, // 2 ................................................................... // 3 ................................................................... // 4 .................................................................. // 5 ................................................................... // 6 ................................................................... // 7 ................................................................... // 8 ................................................................... // 9 ................................................................... // 10 ................................................................... // 11 ................................................................... // 12 ................................................................... // 13 ................................................................... // 14 ................................................................... // 15 ................................................................... typename T2, // ................................................................... typename T3, typename T4 > class NotRecognized { void foo(); }; Deleting the comment lines 11-15 makes the class recognizable. [img]https://forums.wholetomato.com/forum/uploaded/geghamyan/20121218173713_vaxUntitled.png[/img] [/quote]
Check to include your profile signature.
Check to subscribe to this topic.
T O P I C R E V I E W
geghamyan
Posted - Dec 18 2012 : 5:38:10 PM
Environment: VS2010, VAX 1925
A number of comments in template section of class affects the parsing.
The class in the following fragment is not recognized:
template <
typename T0,
// 1 ........................................................
typename T1,
// 2 ...................................................................
// 3 ...................................................................
// 4 ..................................................................
// 5 ...................................................................
// 6 ...................................................................
// 7 ...................................................................
// 8 ...................................................................
// 9 ...................................................................
// 10 ...................................................................
// 11 ...................................................................
// 12 ...................................................................
// 13 ...................................................................
// 14 ...................................................................
// 15 ...................................................................
typename T2,
// ...................................................................
typename T3,
typename T4
>
class NotRecognized
{
void foo();
};
Deleting the comment lines 11-15 makes the class recognizable.
2 L A T E S T R E P L I E S (Newest First)
support
Posted - Feb 25 2013 : 12:32:38 PM
case=71326 is fixed in build 1929
accord
Posted - Dec 19 2012 : 09:10:31 AM
I am seeing the same effect here. Thank you for the clear description.
case=71326
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000