forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for C++14 and require C++17 (RobotLocomotion#12240)
Also update pycps for C++17 support.
- Loading branch information
1 parent
f1bd708
commit 78bdef9
Showing
26 changed files
with
34 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
#include "drake/common/hash.h" | ||
|
||
namespace drake { | ||
namespace internal { | ||
|
||
#if __cplusplus < 201703L | ||
constexpr size_t FNV1aHasher::kFnvPrime; | ||
#endif | ||
|
||
} // namespace internal | ||
} // namespace drake | ||
// For now, this is an empty .cc file that only serves to confirm | ||
// hash.h is a stand-alone header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
#include "drake/common/random.h" | ||
|
||
namespace drake { | ||
|
||
#if __cplusplus < 201703L | ||
constexpr RandomGenerator::result_type RandomGenerator::default_seed; | ||
#endif | ||
|
||
} // namespace drake | ||
// For now, this is an empty .cc file that only serves to confirm | ||
// random.h is a stand-alone header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
#include "drake/systems/sensors/image.h" | ||
|
||
namespace drake { | ||
namespace systems { | ||
namespace sensors { | ||
|
||
#if __cplusplus < 201703L | ||
constexpr float InvalidDepth::kTooFar; | ||
constexpr float InvalidDepth::kTooClose; | ||
|
||
constexpr int16_t Label::kNoBody; | ||
constexpr int16_t Label::kFlatTerrain; | ||
#endif | ||
|
||
} // namespace sensors | ||
} // namespace systems | ||
} // namespace drake | ||
// For now, this is an empty .cc file that only serves to confirm | ||
// image.h is a stand-alone header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,4 @@ | ||
#include "drake/systems/sensors/pixel_types.h" | ||
|
||
namespace drake { | ||
namespace systems { | ||
namespace sensors { | ||
|
||
#if __cplusplus < 201703L | ||
constexpr int ImageTraits<PixelType::kRgb8U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kRgb8U>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kBgr8U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kBgr8U>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kRgba8U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kRgba8U>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kBgra8U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kBgra8U>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kDepth32F>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kDepth32F>::kPixelFormat; | ||
constexpr ImageTraits<PixelType::kDepth32F>::ChannelType ImageTraits<PixelType::kDepth32F>::kTooClose; // NOLINT | ||
constexpr ImageTraits<PixelType::kDepth32F>::ChannelType ImageTraits<PixelType::kDepth32F>::kTooFar; // NOLINT | ||
|
||
constexpr int ImageTraits<PixelType::kDepth16U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kDepth16U>::kPixelFormat; | ||
constexpr ImageTraits<PixelType::kDepth16U>::ChannelType ImageTraits<PixelType::kDepth16U>::kTooClose; // NOLINT | ||
constexpr ImageTraits<PixelType::kDepth16U>::ChannelType ImageTraits<PixelType::kDepth16U>::kTooFar; // NOLINT | ||
|
||
constexpr int ImageTraits<PixelType::kLabel16I>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kLabel16I>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kGrey8U>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kGrey8U>::kPixelFormat; | ||
|
||
constexpr int ImageTraits<PixelType::kExpr>::kNumChannels; | ||
constexpr PixelFormat ImageTraits<PixelType::kExpr>::kPixelFormat; | ||
#endif // __cplusplus | ||
|
||
} // namespace sensors | ||
} // namespace systems | ||
} // namespace drake | ||
// For now, this is an empty .cc file that only serves to confirm | ||
// pixel_types.h is a stand-alone header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.