소스 검색

doc: cleanup

skypjack 3 달 전
부모
커밋
d878089ecc
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      docs/md/poly.md
  2. 2 2
      docs/md/process.md

+ 2 - 2
docs/md/poly.md

@@ -230,14 +230,14 @@ For a deduced concept, inheritance is achieved in a few steps:
 ```cpp
 ```cpp
 struct DrawableAndErasable: entt::type_list<> {
 struct DrawableAndErasable: entt::type_list<> {
     template<typename Base>
     template<typename Base>
-    struct type: typename Drawable::type<Base> {
+    struct type: Drawable::type<Base> {
         static constexpr auto base = Drawable::impl<Drawable::type<entt::poly_inspector>>::size;
         static constexpr auto base = Drawable::impl<Drawable::type<entt::poly_inspector>>::size;
         void erase() { entt::poly_call<base + 0>(*this); }
         void erase() { entt::poly_call<base + 0>(*this); }
     };
     };
 
 
     template<typename Type>
     template<typename Type>
     using impl = entt::value_list_cat_t<
     using impl = entt::value_list_cat_t<
-        typename Drawable::impl<Type>,
+        Drawable::impl<Type>,
         entt::value_list<&Type::erase>
         entt::value_list<&Type::erase>
     >;
     >;
 };
 };

+ 2 - 2
docs/md/process.md

@@ -57,8 +57,8 @@ Here is a minimal example for the sake of curiosity:
 
 
 ```cpp
 ```cpp
 struct my_process: entt::process {
 struct my_process: entt::process {
-    using allocator_type = typename entt::process::allocator_type;
-    using delta_type = typename entt::process::delta_type;
+    using allocator_type = entt::process::allocator_type;
+    using delta_type = entt::process::delta_type;
 
 
     my_process(const allocator_type &allocator, delta_type delay)
     my_process(const allocator_type &allocator, delta_type delay)
         : entt::process{allocator},
         : entt::process{allocator},