Home
Nzo
dark light hacker solarized kimbie
  • Posts
  • Notes
  • Galleries
  • Digital
  • Film
  • Archives
  • About
dark light hacker solarized kimbie
Posts Notes
Galleries
Digital Film
Archives About
[EMCpp]Item-25 Use std::move on Rvalue References, std::forward on Universal References
📅Aug 11, 2018 · ☕ 4 min read

But don’t apply std::move or std::forward to local objects if they would otherwise be eligible for the return value optimization.

2018/2018-08/11.gif

[EMCpp]Item-24 Distinguish Universal References From Rvalue References
📅Aug 8, 2018 · ☕ 3 min read

If a function template parameter has type T&& for a deduced type T, or if an object is declared using auto&&, the parameter or object is a universal reference.

2018/2018-08/08.gif

[EMCpp]Item-23 Understand std::Move and std::Forward
📅Aug 7, 2018 · ☕ 2 min read

std::move performs an unconditional cast to an rvalue, while std::forward casts its argument to an rvalue only if that argument is bound to an rvalue.

2018/2018-08/07.gif

[EMCpp]Item-22 When Using Pimple Idiom, Define Special Member Functions in the Implementation File
📅Aug 5, 2018 · ☕ 4 min read

For std::unique_ptr pImpl pointers, declare special member functions in the class header, but implement them in the implementation file.

2018/2018-08/05.gif

[EMCpp]Item-21 Prefer std::make_unique and std::make_shared to Direct Use of New
📅Aug 2, 2018 · ☕ 5 min read

Compared to new, make functions eliminate source code duplication, improve exception safety, and, for std::make_shard and std::allocate_shared, generate code that’s smaller and faster.

2018/2018-08/02.gif

  • 1
  • …
  • 23
  • 24
  • 25
  • …
  • 50

Nzo

Nzo
Yo!
New York, US
daoxinzhishui@gmail.com

Gallery
  • Digital
  • Film

Posts
  • My first fracture
  • Trade Sequencer
  • Trade Beats
  • Spirited away
  • New semester is coming

Notes
  • Computer Music Study 4: Electronic Music for Performance ft. Nicolas Collins
  • Computer Music Study 3: Music Based on Algo
  • Computer Music Study 2: Music based on synthetic electronic sound
  • Computer Music Study 1: Music based on recordings
  • DSP Review

Archive

Tags Algorithm 10 Clarinet 6 Computer Music 4 Cpp 125 Dsp 1 Film 3 Fracture 1 Generative Art 1 Ilford 3 Index 5 Leica 4 Machine Learning 1 Music 13 Music Theory 1 Photography 1 Recourse 1 Street Photography 91 Technique 130 Vocaloid 1
Categories Coding 140 Music 13 Thoughts 1 Visual 92
Series Algorithm 10 Computer Music 4 Effective C++ 128 Music Cover 6 Sports 1 Weekly 91

English 中文

Total visitors ...
Total views ...

©2025, All Rights Reserved CC BY-SA