19#include <boost/test/unit_test.hpp>
57 void operator()() {
x <<= 1; }
71 void operator()(
int&
x)
const {
x <<= 1; }
85 auto fn = [&
x]() {
x <<= 1; };
97 auto fn = [](
int&
x) {
x <<= 1; };
109 void foo() {
x <<= 1; }
110 void bar(
int n) {
x +=
n; }
139 auto fn = [&
x](
int&&
y) {
x =
x +
y; };
145 cb.invoke(std::move(
m));
BOOST_CHECK_EQUAL(v.size(), 10U)
BOOST_AUTO_TEST_CASE(SlotEmptyCase)
BOOST_CHECK(isnan(stod(""sv, numeric_limits< double >::quiet_NaN())))