We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
array.hpp
c-plus-plus/array/array.hpp
Lines 1 to 2 in 02de6c5
Line 12 in 02de6c5
std::exception
what
Lines 16 to 19 in 02de6c5
Line 162 in 02de6c5
Line 163 in 02de6c5
to_array_impl
mylib::
Lines 283 to 292 in 02de6c5
get
Lines 271 to 274 in 02de6c5
array
The text was updated successfully, but these errors were encountered:
我太卢瑟了,之前写的早没考虑这些。🤣🤣🤣
Sorry, something went wrong.
然后对于长度为0的处理我直接抄 msvc 因为那个时候一时也没想到用别的方式抛出错误。
msvc
No branches or pull requests
目前存在的问题
c-plus-plus/array/array.hpp
Lines 1 to 2 in 02de6c5
c-plus-plus/array/array.hpp
Line 12 in 02de6c5
std::exception
的额外构造函数),而这一扩展甚至是不遵从的。i. 从标准角度来看重写
what
还是有必要的。c-plus-plus/array/array.hpp
Lines 16 to 19 in 02de6c5
c-plus-plus/array/array.hpp
Line 162 in 02de6c5
c-plus-plus/array/array.hpp
Line 163 in 02de6c5
to_array_impl
应该有mylib::
前缀,否则可以触发 ADL 并找到其他人声明的to_array_impl
函数。c-plus-plus/array/array.hpp
Lines 283 to 292 in 02de6c5
待实现的部分
get
应该还有另外 3 个重载。c-plus-plus/array/array.hpp
Lines 271 to 274 in 02de6c5
array
的比较运算符。i. 个人认为实现为隐藏友元为好,不应照搬标准库。
The text was updated successfully, but these errors were encountered: