Summary: CodingStyle to require use of nullptr in C++ code
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 27 Aug 2014 02:08:03 AM EEST
                Category: docs
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0



This is separate patch from patch #5127 as we may decide to postpone this one
a bit.

This makes it a CodingStyle policy that C++ code should use 'nullptr'.
The problem with this is that patch #5127 is not in S2_5 and I don't think it
will be ported there. As Qt-client is currently in active development for both
TRUNK and S2_5, requiring use of nullptr in TRUNK but prohibiting it in S2_5
would hinder patch porting between branches too much. I think the effective
policy should be something like "require 'nullptr' in new freeciv-ruledit
code, allow '0' in new Qt-client code for now".


File Attachments:

Date: Wed 27 Aug 2014 02:08:03 AM EEST  Name:
0002-Instruct-use-of-nullptr-in-CodingStyle.patch  Size: 825B   By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to