Difference between revisions of "C++11"

From Inkscape Wiki
Jump to: navigation, search
(Created page with "== C++11 usage status == The table lists C++11 features and whether they can be used in Inkscape or not (yet). Add C++11 features that you would like to use to the table, so t...")
 
(C++11 usage status)
Line 14: Line 14:
 
|-
 
|-
 
| shared_ptr<>
 
| shared_ptr<>
 +
| style="background:Orange;"| not yet
 +
|
 +
|-
 +
| auto
 
| style="background:Orange;"| not yet
 
| style="background:Orange;"| not yet
 
|  
 
|  
Line 23: Line 27:
 
| supported feature
 
| supported feature
 
| style="background:LightGreen;"| from 0.50
 
| style="background:LightGreen;"| from 0.50
 +
|
 +
|}
 +
 +
 +
== C++11 platform status ==
 +
The table lists C++11 features and whether they work in trunk on a certain platform as advertised. If all lights are green -> set the light to green in the [C++11 usage status] section (taking current trunk version into account).
 +
 +
{| class="wikitable"
 +
|-
 +
! Feature
 +
! Windows
 +
! Mac
 +
! Linux A
 +
! Linux B
 +
! Comment
 +
|-
 +
| unique_ptr<>
 +
| style="background:LightGreen;"|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| shared_ptr<>
 +
| style="background:LightGreen;"|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
| auto
 +
| style="background:LightGreen;"|
 +
|
 +
|
 +
|
 
|  
 
|  
 
|}
 
|}

Revision as of 19:06, 15 October 2013

C++11 usage status

The table lists C++11 features and whether they can be used in Inkscape or not (yet). Add C++11 features that you would like to use to the table, so that we know what to test for to increase the C++11 "allowance".

Feature Can use? Comment
unique_ptr<> not yet
shared_ptr<> not yet
auto not yet
toxic feature of doom NO Never use this (in case we stumble upon C++11 features that we really don't like
supported feature from 0.50


C++11 platform status

The table lists C++11 features and whether they work in trunk on a certain platform as advertised. If all lights are green -> set the light to green in the [C++11 usage status] section (taking current trunk version into account).

Feature Windows Mac Linux A Linux B Comment
unique_ptr<>
shared_ptr<>
auto