本页是01 仓外 C++ 项目的完整可运行源码。

#include <iostream>

#include <frame/core/shape.h>

int main() { std::cout << frame::Shape({2, 3}).numel() << '\n'; }