Remove BOOST_NOEXCEPT

This commit is contained in:
Christian Mazakas
2023-09-27 11:44:44 -07:00
parent 6b65c8f230
commit aa16d1b8a9
10 changed files with 427 additions and 499 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ template <typename T> struct A
A() : i(++count) {}
template <class U> A(const A<U>& a) BOOST_NOEXCEPT : i(a.i) {}
template <class U> A(const A<U>& a) noexcept : i(a.i) {}
T* allocate(std::size_t n)
{
@@ -33,7 +33,7 @@ template <typename T> struct A
return (T*)std::calloc(n, sizeof(T));
}
void deallocate(T* p, std::size_t n) BOOST_NOEXCEPT
void deallocate(T* p, std::size_t n) noexcept
{
total_allocation -= n * sizeof(T);
std::free(p);