Changeset 30def8 for src/UIElements/CommandLineUI/CommandLineParser.cpp
- Timestamp:
- Oct 23, 2022, 9:08:55 AM (3 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 0daef6
- Parents:
- f71fc8
- git-author:
- Frederik Heber <frederik.heber@…> (12/04/21 23:38:32)
- git-committer:
- Frederik Heber <frederik.heber@…> (10/23/22 09:08:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineParser.cpp
rf71fc8 r30def8 204 204 * See https://lists.boost.org/Archives/boost/2017/01/232272.php 205 205 */ 206 #if BOOST_VERSION >= 106300 206 #if BOOST_VERSION >= 106300 and BOOST_VERSION < 106900 207 207 template <typename T> 208 208 struct greedy_implicit_value : public po::typed_value<T> … … 224 224 return new greedy_implicit_value<T>(value); 225 225 } 226 #else 226 #endif 227 #if BOOST_VERSION < 106300 227 228 template <typename T> 228 229 po::typed_value<T>* implicit_value(const T& value) 229 230 { 230 231 return new po::typed_value<T>()->implicit_value(value); 232 } 233 #endif 234 #if BOOST_VERSION >= 106900 235 template <typename T> 236 po::typed_value<T>* implicit_value(const T& value) 237 { 238 return (new po::typed_value<T>(NULL))->implicit_value(value); 231 239 } 232 240 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
