Base 10 | Base 2 |
---|---|
0 | 0b |
1 | 1b |
2 | 10b |
3 | 11b |
- Input Iterator (immutable): once, forward, read-only
- Output Iterator (mutable): once, foward, write-only
- Forward Iterator (mutable): forward, read/write
- Bidirectionnal Iterator (mutable): forward/backwards, read/write
- Random Access Iterator (mutable): jump around, read/write
- Contiguous Iterator:
Legend:
- 3️⃣ Rule of 3: if a class implements any of these 3 methods, it should implement all 3 of them. The goal is to ensure the correct management of the class member data.
- 5️⃣ Rule of 5: extension of Rule of 3. Allows for optimized usage (no copies) of the class.
0️⃣ Rule of 0: These constructors and operators are not require when you don't declare any of them and make usage of existing types that support the appropriate copy/move semantics.
It's the rule of "All or Nothing".
# Find mt.exe and creates executable target 'Win10::Mt'.
function(find_mt)
set(MT_TARGET_NAME Win10::Mt)
if(NOT TARGET ${MT_TARGET_NAME})
find_program(MT_TARGET_EXE
NAME "mt.exe"
PATHS "C:/Program Files (x86)/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/${CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE}"
NO_DEFAULT_PATH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install fonttools brotli zopfli | |
pyftsubset "your-font.otf" --output-file="your-font-subset.woff2" --flavor=woff2 --layout-features="kern,liga,clig,calt,ccmp,locl,mark,mkmk,onum,pnum,smcp,c2sc,frac,lnum,tnum,subs,sups, cswh,dlig,ss01,ss03,zero" --unicodes="U+0000-00A0,U+00A2-00A9,U+00AC-00AE,U+00B0-00B7,U+00B9-00BA,U+00BC-00BE,U+00D7,U+00F7,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-21BB,U+2212,U+2215,U+F8FF,U+FEFF,U+FFFD" |