* [devel] Q: gmsh
@ 2010-11-17 10:36 REAL
2010-11-17 17:56 ` Sergey Vlasov
0 siblings, 1 reply; 3+ messages in thread
From: REAL @ 2010-11-17 10:36 UTC (permalink / raw)
To: ALT Linux Team development discussions
Привет!
В новой версии gmsh в одной из функций добавлен битый код, который я
временно выключил:
http://git.altlinux.org/people/real/packages/gmsh.git?p=gmsh.git;a=commitdiff;h=d3c234a18bde1a49a2d58c0737c46429dfaaa547
Не знаю как справиться с
GlobalBoVertexMap::iterator itEnd = globalBoVertMap.end();
Оригинальный код:
http://git.altlinux.org/people/real/packages/gmsh.git?p=gmsh.git;a=blob;f=trunk/Geo/MZoneBoundary.h;h=04cc2d6ff72cb0e4f026403eae17c4095a28b1a5;hb=c2f32a464cb64fd0ae44b480327d9782f25215c9
строки 304-336
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] Q: gmsh
2010-11-17 10:36 [devel] Q: gmsh REAL
@ 2010-11-17 17:56 ` Sergey Vlasov
2010-11-18 3:45 ` REAL
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Vlasov @ 2010-11-17 17:56 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
On Wed, Nov 17, 2010 at 04:36:31PM +0600, REAL wrote:
> В новой версии gmsh в одной из функций добавлен битый код, который я
> временно выключил:
>
> http://git.altlinux.org/people/real/packages/gmsh.git?p=gmsh.git;a=commitdiff;h=d3c234a18bde1a49a2d58c0737c46429dfaaa547
>
> Не знаю как справиться с
> GlobalBoVertexMap::iterator itEnd = globalBoVertMap.end();
Видимо, перед GlobalBoVertexMap::iterator следует добавить typename -
без этого компилятор не в состоянии понять, что iterator в данном
случае является именно типом. Вообще typename нужно писать перед
конструкциями вида X::Y, обозначающими тип, в случаях, когда X зависит
от параметров шаблона (либо непосредственно, в виде T<A>, либо
косвенно через typedef, как в данном случае).
А вот в typename GlobalVertexData<FaceT>& ref этот typename может быть
и лишним.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] Q: gmsh
2010-11-17 17:56 ` Sergey Vlasov
@ 2010-11-18 3:45 ` REAL
0 siblings, 0 replies; 3+ messages in thread
From: REAL @ 2010-11-18 3:45 UTC (permalink / raw)
To: ALT Linux Team development discussions
17.11.2010 23:56, Sergey Vlasov пишет:
> Видимо, перед GlobalBoVertexMap::iterator следует добавить typename -
Да, мне приватом Вячеслав Завьялов уже сказал.
> без этого компилятор не в состоянии понять, что iterator в данном
> случае является именно типом. Вообще typename нужно писать перед
> конструкциями вида X::Y, обозначающими тип, в случаях, когда X зависит
> от параметров шаблона (либо непосредственно, в виде T<A>, либо
> косвенно через typedef, как в данном случае).
>
> А вот в typename GlobalVertexData<FaceT>& ref этот typename может быть
> и лишним.
Да, спасибо, обновления clear() в Geo/MZoneBoundary.h починены и
отправлены в сизиф.
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-18 3:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 10:36 [devel] Q: gmsh REAL
2010-11-17 17:56 ` Sergey Vlasov
2010-11-18 3:45 ` REAL
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git