STL开篇
STL 实际上,是一套封装好的C++模板类。提供通用的模板类和函数,用来高性能的实现常用的算法和数据结构,比如:向量vector、链表、队列、栈。
STL 做到了数据结构和算法的分离,比如:vector的底层是顺序表(数组),list的底层为双向链表,deque的底层是循环队列,set的底层是红黑树,hash_set的底层是哈希表。
STL 实际上,是一套封装好的C++模板类。提供通用的模板类和函数,用来高性能的实现常用的算法和数据结构,比如:向量vector、链表、队列、栈。
STL 做到了数据结构和算法的分离,比如:vector的底层是顺序表(数组),list的底层为双向链表,deque的底层是循环队列,set的底层是红黑树,hash_set的底层是哈希表。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
Welcome to the Icarus documentation site! Icarus is a simple, delicate, and modern theme for the static site generator Hexo. It strives to be elegant in design while simple and straightforward to use. Its versatile and flexible configuration system enables power users lay out their sites to the finest details. Icarus also offers a wide range of plugins and widgets to meet your various customization and optimization needs. Moreover, its refreshed implementation enables better IDE support and third-party integration, which open to a sea of improvement possibilities.
Icarus User Guide - Configuring the Theme
Icarus’ default theme configuration file is _config.icarus.yml.
It defines the global layout and style settings of the theme and controls external features such as plugins and widgets.
This article details the general configurations of the theme.
It also explains what configuration files are used and how Icarus generate and validate these configurations.
The article answers some frequently asked questions about Icarus. If your question is not answered here, you can also refer to Icarus User Guide, Hexo documentation, and GitHub Issues. Additionally, you may find help from other Icarus users on GitHub Discussions.
Icarus includes a new variant called Cyberpunk starting from version 3.0.0.
The theme is inspired by the video game Cyberpunk 2077
developed by CD PROJEKT RED.
This variant aims at providing a different Icarus experience to these who like dark-themed
blogs.
It should be noted that it uses recent web styling features that are not working correctly
in some legacy browsers, including Internet Explorer and legacy Microsoft Edge.
Apart from the tag helpers supported by Hexo natively, as described in Hexo Built-in Tag Helpers, Icarus also offers several other useful tag helpers to customize the display of your content.
Update your browser to view this website correctly.&npsb;Update my browser now