cppreference 中的哪一部分告诉我结构化绑定声明仅适用于编译时已知对象?

What part in cppreference tells me structured binding declarations only work with compile-time known objects?

我的问题是

structured binding declarations 上 cppreference.com 页面的哪一部分应该表明它们不能与编译时未知的“事物”一起使用?

该页面不包含任何对编译或 运行 时间的明确引用。

为什么?

最近碰到了 about whether structured binding declarations work with std::vector, which doesn't since its size is not known at compile time. Since I'm trying to understand how Boost.Hana作品,脑子里想弄清楚运行时间和编译时间的具体区别是什么,所以才趁机问了上面的问题.

相关部分是 std::tuple_size,它产生 compile-time 尺寸。您不能为 std::vector 实现它。它有一个 run-time 变量 std::vector::size.