File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -54,27 +54,6 @@ SOFTWARE.
54
54
55
55
namespace etl
56
56
{
57
- #if ETL_USING_STL && ETL_USING_CPP20
58
- // *****************************************************************************
59
- // / Obtain the address represented by p without forming a reference to the object pointed to by p.
60
- // / Defined when using the STL and C++20
61
- // *****************************************************************************
62
- template <typename TPtr>
63
- constexpr auto to_address (const TPtr& p) noexcept
64
- {
65
- return std::to_address (p);
66
- }
67
-
68
- // *****************************************************************************
69
- // / Obtain the address represented by p without forming a reference to the object pointed to by p.
70
- // / Defined when using the STL and C++20
71
- // *****************************************************************************
72
- template <typename T>
73
- constexpr T* to_address (T* p) noexcept
74
- {
75
- return std::to_address (p);
76
- }
77
- #else
78
57
// *****************************************************************************
79
58
// / Obtain the address represented by p without forming a reference to the object pointed to by p.
80
59
// / Defined when not using the STL or C++20
@@ -95,7 +74,6 @@ namespace etl
95
74
{
96
75
return itr.operator ->();
97
76
}
98
- #endif
99
77
100
78
#if ETL_USING_STL
101
79
// *****************************************************************************
You can’t perform that action at this time.
0 commit comments