You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/02/06 14:53:00 UTC
[jira] [Closed] (ARROW-3071) [C++] Consider using #pragma once
instead of include guards
[ https://issues.apache.org/jira/browse/ARROW-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney closed ARROW-3071.
-------------------------------
Resolution: Not A Problem
I am recommending in code reviews to use {{#pragma once}} in new header files. We can go about replacing existing guards on an ad hoc basis
> [C++] Consider using #pragma once instead of include guards
> -----------------------------------------------------------
>
> Key: ARROW-3071
> URL: https://issues.apache.org/jira/browse/ARROW-3071
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> I think this is supported on all the compilers we support since we are C++11-only. This would ease maintenance and refactoring
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)