SHRIK3

Fri. Downtime

Aug 6, 2020

每个周五, 不使用任何互联网设备,不回信息,不接电话。

最近使用社交网络频率有所增长,这不是个好兆头。

I need a fuckin’ break.


I’m offline on every Friday, not replying msg, not taking phone call.

Read more ...








Const Expression in c++

Jun 6, 2020
  • const: meaning roughly “I promise not to change this value.” This is used primarily to specify interfaces so that data can be passed to functions using pointers and references without fear of it being modified. The compiler enforces the promise made by const. The value of a const can be calculated at runtime.

  • constexpr: meaning roughly “to be evaluated at compile time.” This is used primarily to specify constants, to allow placement of data in read-only memory (where it is unlikely to be corrupted), and for performance. The value of a constexpr must be calculated by the compiler.

Read more ...