@@ -30,7 +30,7 @@ namespace glm
3030# endif
3131 };
3232
33- typedef qualifier precision;
33+ using precision = qualifier ;
3434
3535 template <length_t L, typename T, qualifier Q = defaultp> struct vec ;
3636 template <length_t C, length_t R, typename T, qualifier Q = defaultp> struct mat ;
@@ -107,69 +107,69 @@ namespace detail
107107 template <>
108108 struct storage <4 , float , true >
109109 {
110- typedef glm_f32vec4 type;
110+ using type = glm_f32vec4 ;
111111 };
112112
113113 template <>
114114 struct storage <4 , int , true >
115115 {
116- typedef glm_i32vec4 type;
116+ using type = glm_i32vec4 ;
117117 };
118118
119119 template <>
120120 struct storage <4 , unsigned int , true >
121121 {
122- typedef glm_u32vec4 type;
122+ using type = glm_u32vec4 ;
123123 };
124124
125125 template <>
126126 struct storage <3 , float , true >
127127 {
128- typedef glm_f32vec4 type;
128+ using type = glm_f32vec4 ;
129129 };
130130
131131 template <>
132132 struct storage <3 , int , true >
133133 {
134- typedef glm_i32vec4 type;
134+ using type = glm_i32vec4 ;
135135 };
136136
137137 template <>
138138 struct storage <3 , unsigned int , true >
139139 {
140- typedef glm_u32vec4 type;
140+ using type = glm_u32vec4 ;
141141 };
142142
143143 template <>
144144 struct storage <2 , double , true >
145145 {
146- typedef glm_f64vec2 type;
146+ using type = glm_f64vec2 ;
147147 };
148148
149149 template <>
150150 struct storage <2 , detail::int64, true >
151151 {
152- typedef glm_i64vec2 type;
152+ using type = glm_i64vec2 ;
153153 };
154154
155155 template <>
156156 struct storage <2 , detail::uint64, true >
157157 {
158- typedef glm_u64vec2 type;
158+ using type = glm_u64vec2 ;
159159 };
160160
161161
162162 template <>
163163 struct storage <3 , detail::uint64, true >
164164 {
165- typedef glm_u64vec2 type;
165+ using type = glm_u64vec2 ;
166166 };
167167
168168 template <>
169169 struct storage <4 , double , true >
170170 {
171171# if (GLM_ARCH & GLM_ARCH_AVX_BIT)
172- typedef glm_f64vec4 type;
172+ using type = glm_f64vec4 ;
173173# else
174174 struct type
175175 {
@@ -195,21 +195,21 @@ namespace detail
195195 template <>
196196 struct storage <4 , detail::int64, true >
197197 {
198- typedef glm_i64vec4 type;
198+ using type = glm_i64vec4 ;
199199 };
200200
201201 template <>
202202 struct storage <4 , detail::uint64, true >
203203 {
204- typedef glm_u64vec4 type;
204+ using type = glm_u64vec4 ;
205205 };
206206# endif
207207
208208# if GLM_ARCH & GLM_ARCH_NEON_BIT
209209 template <>
210210 struct storage <4 , float , true >
211211 {
212- typedef glm_f32vec4 type;
212+ using type = glm_f32vec4 ;
213213 };
214214
215215 template <>
@@ -219,7 +219,7 @@ namespace detail
219219 template <>
220220 struct storage <4 , int , true >
221221 {
222- typedef glm_i32vec4 type;
222+ using type = glm_i32vec4 ;
223223 };
224224
225225 template <>
@@ -229,7 +229,7 @@ namespace detail
229229 template <>
230230 struct storage <4 , unsigned int , true >
231231 {
232- typedef glm_u32vec4 type;
232+ using type = glm_u32vec4 ;
233233 };
234234/* TODO: Duplicate ?
235235 template<>
0 commit comments