C
struct some {
void foo();
};
const auto lambda = [m = &some::foo] (some& arg) {
(arg.*m)();
};
Size: a a a
C
struct some {
void foo();
};
const auto lambda = [m = &some::foo] (some& arg) {
(arg.*m)();
};
CD
D
worker::ui_internal::PipelineBuilder()
.AddPathChecker(
[checker = &CMUI::file_name_is_valid, &path, &valid_path](CMUI* cm_ui) {
valid_path = (cm_ui->*file_name_is_valid)(path);
return true;
}
D
D
D
BB
D
D
template<class T> // linkage error without this!
friend std::ostream& operator<<(std::ostream& out, MyMatrix<T> const& mtx);
D
D
template<class T> // linkage error without this!
friend std::ostream& operator<<(std::ostream& out, MyMatrix<T> const& mtx);
std::for_each(m_buffer.begin(), m_buffer.end(), [&](const unsigned int i) { return m_buffer[i] != mtx.m_buffer[i]; });
D
D
ПК
D
ПК
D
for (const auto i : m_buffer)
m_buffer[i] == mtx.m_buffer[i];
D
D
D