diff --git a/include/noarr/structures/extra/shortcuts.hpp b/include/noarr/structures/extra/shortcuts.hpp index 2c2f52f..8f868c0 100644 --- a/include/noarr/structures/extra/shortcuts.hpp +++ b/include/noarr/structures/extra/shortcuts.hpp @@ -39,6 +39,12 @@ constexpr auto vectors(Lengths ...lengths) noexcept { return (... ^ vector(lengths)); } +template requires IsDimPack && (sizeof...(Dims) == sizeof...(Lengths)) +[[deprecated("Use vectors instead")]] +constexpr auto sized_vectors(Lengths ...lengths) noexcept { + return (... ^ vector(lengths)); +} + template struct array_proto { static constexpr bool proto_preserves_layout = false;