Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356797 - [C++] wrong colors of `operator int()`
Summary: [C++] wrong colors of `operator int()`
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 08:00 EDT by trashyankes CLA
Modified: 2011-09-08 05:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trashyankes CLA 2011-09-06 08:00:18 EDT
class VoidType
{
public:

	operator int() //this line dont have colors like `keywords`, its use `metod declarations` colors
	{
		return 0;
	}
};


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Comment 1 Anton Leherbauer CLA 2011-09-08 05:24:48 EDT
As this is a method declaration it is colored as such.  There is nothing wrong with that.