Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Constructor initializer list on the same line
icon4.gif  Constructor initializer list on the same line [message #1450477] Wed, 22 October 2014 13:45
Marcus Santo is currently offline Marcus SantoFriend
Messages: 8
Registered: October 2014
Junior Member
Hi, I think this is a bug.
If I set to "Do not wrap" the select button in
Window > Preferences > C/C++ > Code Style > Formatter > [my profile] > Edit > Line Wrapping > Function Declarations > Constructor initializer list
The format is still
class Point {
public:
	Point(double x, double y) :
		x(x), y(y) {
	}

private:
	double x;
	double y;
};

Insted of
class Point {
public:
	Point(double x, double y) : x(x), y(y) {
	}

private:
	double x;
	double y;
};

[Updated on: Wed, 22 October 2014 13:55]

Report message to a moderator

Previous Topic:Using wrong make file?
Next Topic:How to set default binary parser in Eclipse CDT?
Goto Forum:
  


Current Time: Fri Apr 26 16:16:09 GMT 2024

Powered by FUDForum. Page generated in 0.02810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top