File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ template <size_t Id, typename Name = void> struct captured_content {
73
73
return _matched;
74
74
}
75
75
76
- template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe () const noexcept {
76
+ template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe () const noexcept {
77
77
static_assert (!is_reverse_iterator<It>, " Iterator in your capture must not be reverse!" );
78
78
79
79
#if __cpp_char8_t >= 201811
@@ -83,7 +83,7 @@ template <size_t Id, typename Name = void> struct captured_content {
83
83
#endif
84
84
85
85
#ifdef _MSC_VER
86
- return std::to_address (_begin);
86
+ return std::to_address (_begin); // I'm enabling this only for MSVC for now, as some clang old versions with various libraries (random combinations) has different problems
87
87
#else
88
88
return &*_begin;
89
89
#endif
Original file line number Diff line number Diff line change @@ -3361,7 +3361,7 @@ template <size_t Id, typename Name = void> struct captured_content {
3361
3361
return _matched;
3362
3362
}
3363
3363
3364
- template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe() const noexcept {
3364
+ template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe() const noexcept {
3365
3365
static_assert(!is_reverse_iterator<It>, "Iterator in your capture must not be reverse!");
3366
3366
3367
3367
#if __cpp_char8_t >= 201811
@@ -3371,7 +3371,7 @@ template <size_t Id, typename Name = void> struct captured_content {
3371
3371
#endif
3372
3372
3373
3373
#ifdef _MSC_VER
3374
- return std::to_address(_begin);
3374
+ return std::to_address(_begin); // I'm enabling this only for MSVC for now, as some clang old versions with various libraries (random combinations) has different problems
3375
3375
#else
3376
3376
return &*_begin;
3377
3377
#endif
Original file line number Diff line number Diff line change @@ -3358,7 +3358,7 @@ template <size_t Id, typename Name = void> struct captured_content {
3358
3358
return _matched;
3359
3359
}
3360
3360
3361
- template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe () const noexcept {
3361
+ template <typename It = Iterator> constexpr CTRE_FORCE_INLINE const auto * data_unsafe () const noexcept {
3362
3362
static_assert (!is_reverse_iterator<It>, " Iterator in your capture must not be reverse!" );
3363
3363
3364
3364
#if __cpp_char8_t >= 201811
@@ -3368,7 +3368,7 @@ template <size_t Id, typename Name = void> struct captured_content {
3368
3368
#endif
3369
3369
3370
3370
#ifdef _MSC_VER
3371
- return std::to_address (_begin);
3371
+ return std::to_address (_begin); // I'm enabling this only for MSVC for now, as some clang old versions with various libraries (random combinations) has different problems
3372
3372
#else
3373
3373
return &*_begin;
3374
3374
#endif
You can’t perform that action at this time.
0 commit comments