📄 glas_tag.hpp
字号:
// Software License for MTL// // Copyright (c) 2007 The Trustees of Indiana University. All rights reserved.// Authors: Peter Gottschling and Andrew Lumsdaine// // This file is part of the Matrix Template Library// // See also license.mtl.txt in the distribution.#ifndef GLAS_GLAS_TAG_INCLUDE#define GLAS_GLAS_TAG_INCLUDE#undef majornamespace glas { namespace tag {// To iterate only over non-zero elementsstruct nz {};// To iterate over all elementsstruct all {};// To iterate over rows// Generated cursors must provide range generatorsstruct row {};// To iterate over cols// Generated cursors must provide range generatorsstruct col {};// To iterate over the major dimension of matrices (like MTL 2)struct major {};// Same with minorstruct minor {};}} // namespace glas::tag#endif // GLAS_GLAS_TAG_INCLUDE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -