[{"title":"( 52 个子文件 54KB ) CppPatterns-Patterns:社区策划的现代C ++模式库","children":[{"title":"CppPatterns-Patterns-master","children":[{"title":"contents.yml <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.75KB </span>","children":null,"spread":false},{"title":"CONTRIBUTORS.txt <span style='color:#111;'> 740B </span>","children":null,"spread":false},{"title":"patterns","children":[{"title":"structural","children":[{"title":"decorator.cpp <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"creational","children":[{"title":"builder.cpp <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"behavioral","children":[{"title":"visitor.cpp <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"observer.cpp <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"common-tasks","children":[{"title":"classes","children":[{"title":"lexicographic-ordering.cpp <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"non-member-interfaces.cpp <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"rule-of-five.cpp <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"copy-and-swap.cpp <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"rule-of-zero.cpp <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"delegate-behavior-to-derived-classes.cpp <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"virtual-constructor.cpp <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"pimpl.cpp <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"ranges","children":[{"title":"range-iteration.cpp <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"range-based-algorithms.cpp <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"functions","children":[{"title":"return-multiple-values.c++11.cpp <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"optional-arguments.cpp <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"apply-tuple-to-function.cpp <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"return-multiple-values.c++17.cpp <span style='color:#111;'> 948B </span>","children":null,"spread":false},{"title":"pass-arrays.cpp <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"time","children":[{"title":"fixed-time-step.cpp <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"measure-execution-time.cpp <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"sleep.cpp <span style='color:#111;'> 941B </span>","children":null,"spread":false}],"spread":true},{"title":"templates","children":[{"title":"function-template-sfinae.cpp <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"class-template-sfinae.cpp <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"perfect-forwarding.cpp <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"input-streams","children":[{"title":"validate-multiple-reads.cpp <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"read-line-of-values.cpp <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"read-line-by-line.cpp <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"memory-management","children":[{"title":"unique-ownership.cpp <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"weak-reference.cpp <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"use-raii-types.cpp <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"shared-ownership.cpp <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"output-streams","children":[{"title":"write-data-in-columns.cpp <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"overload-insertion-operation.cpp <span style='color:#111;'> 965B </span>","children":null,"spread":false}],"spread":false},{"title":"containers","children":[{"title":"remove-elements-from-container.cpp <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"check-existence-of-key.cpp <span style='color:#111;'> 861B </span>","children":null,"spread":false}],"spread":false},{"title":"algorithms","children":[{"title":"swap-values.cpp <span style='color:#111;'> 984B </span>","children":null,"spread":false},{"title":"sort-range-of-elements.cpp <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"count-values-in-range.cpp <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"swap-containers.cpp <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"copy-range-of-elements.cpp <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"concurrency","children":[{"title":"create-thread.cpp <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"pass-values-between-threads.cpp <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"execute-task-asynchronously.cpp <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"random","children":[{"title":"flip-a-biased-coin.cpp <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"roll-a-die.cpp <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"unpredictable-random-numbers.cpp <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"choose-random-element.cpp <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]