From 611d993cb895ce9e3337a56499347e8b98b95384 Mon Sep 17 00:00:00 2001 From: Akira Takahashi Date: Thu, 6 Feb 2014 14:40:35 +0900 Subject: [PATCH] function::swap : remove noexcept. copy (or move) constructor of function object may throw exception. --- source/utilities.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index 3f54edcefa..dedf9f9cca 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -8467,7 +8467,7 @@ ~function(); // \ref{func.wrap.func.mod}, function modifiers: - void swap(function&) noexcept; + void swap(function&); template void assign(F&&, const A&); // \ref{func.wrap.func.cap}, function capacity: @@ -8717,7 +8717,7 @@ \indexlibrary{\idxcode{function}!\idxcode{swap}}% \indexlibrary{\idxcode{swap}!\idxcode{function}}% \begin{itemdecl} -void swap(function& other) noexcept; +void swap(function& other); \end{itemdecl} \begin{itemdescr}