[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdepim/kpilot/conduits/vcalconduit
From:       Michael Brade <brade () kde ! org>
Date:       2004-04-14 12:25:45
Message-ID: 200404141425.45644.brade () kde ! org
[Download RAW message or body]

> CVS commit by kainhofe:
>
> Clean up unnecessary includes. I haven't found a way to forward-declare
> classes like KCal::Event::List::ConstIterator, so some includes are still
> in there...
namespace KCal {
  namespace Event {
    class Yadda;  // forward decl. KCal::Event::Yadda
  }
}

should work in general. However, I'm not sure about the ConstIterator in this 
case since List is a class and not a namespace; is it possible to forward 
declare class members without the class itself? I don't think so...

-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
   °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic