10 Commits

Author SHA1 Message Date
c99b304ec2 Fix bug 74312 2025-04-30 18:17:21 +03:00
0f64eadedb Fix bug 60511 2023-01-13 11:38:26 +03:00
67facf5e69 fix nativegraphics test 2021-12-21 11:18:39 +03:00
92e2385650 DjVu GString return 2021-12-20 20:48:44 +03:00
fc91e7b9ce refactoring 2021-11-08 18:00:30 +03:00
6ad4a538eb djvu compilation 2021-07-22 17:32:02 +03:00
beb64a6efa utf8 -> utf8 with BOM 2016-06-23 19:23:34 +03:00
20c5758525 Merged revision(s) from AVS/Sources/TeamlabOffice/branches/TeamlabOffice_v3.5_CPP:
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@66199 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:45:20 +03:00
746ccb420b сборка под линукс. странные правки (добавление this->) - не править. Это особенность компилятора gcc
The problem is that templates are processed in two passes (according to the standard, VS does otherwise). In the first pass, before the type substitution, everything that does not depend on the template arguments is looked up and checked. Dependent names are then left to resolve in the second pass, once the type has been substituted. 

Now, in the first pass there is nothing that indicates that next is dependent on template arguments, and thus it needs to resolve before type substitution. Now, because the base type is templated on the template argument of your current template, the compiler cannot look into it (it might be specialized for some types, and without knowing what type T we are instantiating the template with, we cannot know which specialization to use, i.e. the base depends on T and we are checking before knowing T).

The trick of adding this-> turns next into a dependent name, and that in turn means that lookup is delayed until the second pass, where T is known, and because T is known, List<T> is also known and can be looked up into.


git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63683 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:18:05 +03:00
c9c9ed4f90 Добавлены исходники для сборки кроссплатформенной библиотеки для чтения DjVu файлов.
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62606 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:03:41 +03:00