URL:
  <http://gna.org/patch/?5128>

                 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

    _______________________________________________________

Details:

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

<http://gna.org/patch/download.php?file_id=21918>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?5128>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to