With std::vector std is a class, and vector is a class or object? If a class then can you nest classes.
The std
prefix is a namespace, and it is the canonical namespace for the standard library. The std::vector
is a generic template type (class) in the standard library namespace, and is documented here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.