Lars Gullik BjÃnnes <[EMAIL PROTECTED]> writes:
>
> Andreas Vox <[EMAIL PROTECTED]> writes:
...
> | Not bool <-> int <-> pointer.
>
> Do you have explicit pointers in Java?
Of course not, just references.
> (except from
> NullPointerException. I always found this an oxymoron...)
Yes, I'd als
On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bjønnes wrote:
> int a[4];
> a+3 == a[3] == 3+a
You forgot the fun part: 3[a].
Andre'
Andreas Vox <[EMAIL PROTECTED]> writes:
>> Then don't use them. And as you see in LyX we use these as little as
>> possible.
>
| Yes. Unfortunately one can't take the same approach for the preprocessor,
| at least for the include files.
If _that_ is you concern with the preprocessor the you have
On Fri, Jan 28, 2005 at 02:12:03PM +0200, Martin Vermeer wrote:
> On Fri, 2005-01-28 at 13:37, Asger Ottar Alstrup wrote:
> > Lars Gullik Bjønnes wrote:
> > > int a[4];
> > > a+3 == a[3] == 3+a
> >
> > And surprisingly "3[a]" works as well!
> >
> > Regards,
> > Asger
>
> Yes, that *is* surprisin
Jose' Matos wrote:
>> P.S. What about a Java frontend to LyX for true platform independence?
>
> Oh, you mean dependant, attached to another platform, java. Not even on
> Fridays we be believe in fairies, do you know?
It's true. I've never met a fairy that wanted to write 100 000 lines of
code ju
On Friday 28 January 2005 15:16, Andreas Vox wrote:
> P.S. What about a Java frontend to LyX for true platform independence?
Oh, you mean dependant, attached to another platform, java. Not even on
Fridays we be believe in fairies, do you know?
--
Josà AbÃlio
Lars Gullik BjÃnnes <[EMAIL PROTECTED]> writes:
>
> Andreas Vox <[EMAIL PROTECTED]> writes:
>
> | I've been a happy Java Programmer for the last 7 years so I "missed" (*)
> | all this new C++ stuff like templates, namespaces, exceptions and rtti.
>
> Just by looking at java I feel strait-jacket
On Fri, Jan 28, 2005 at 01:27:29PM +, Angus Leeming wrote:
> Was it needed, or was it an example of a call to the 'false god of
> efficiency'?
The latter as far as I could tell... and no, it's staying anonymous :)
john
John Levon wrote:
> (Though I have seen real-life code that uses Duff's device...)
Urggg!
Was it needed, or was it an example of a call to the 'false god of
efficiency'?
--
Angus
On Fri, Jan 28, 2005 at 01:24:50PM +0100, Lars Gullik Bj?nnes wrote:
> (I have some code here that I work on now that uses it...)
My commiserations. (Though I have seen real-life code that uses Duff's
device...)
john
John Levon <[EMAIL PROTECTED]> writes:
| On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bj?nnes wrote:
>
>> int a[4];
>> a+3 == a[3] == 3+a
>
| Hah, you missed the really fun one: 3[a]
Yeah.. quite fun
(no wonder why no sane C/C++ programmer exploits this.)
(I have some code here that I wo
On Fri, 2005-01-28 at 13:37, Asger Ottar Alstrup wrote:
> Lars Gullik BjÃnnes wrote:
> > int a[4];
> > a+3 == a[3] == 3+a
>
> And surprisingly "3[a]" works as well!
>
> Regards,
> Asger
Yes, that *is* surprising.
In a previous life we had a Fortran IV compiler that (unintentionally)
allowed the
On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bj?nnes wrote:
> int a[4];
> a+3 == a[3] == 3+a
Hah, you missed the really fun one: 3[a]
john
Lars Gullik Bjønnes wrote:
int a[4];
a+3 == a[3] == 3+a
And surprisingly "3[a]" works as well!
Regards,
Asger
Andreas Vox <[EMAIL PROTECTED]> writes:
| I've been a happy Java Programmer for the last 7 years so I "missed" (*)
| all this new C++ stuff like templates, namespaces, exceptions and rtti.
Just by looking at java I feel strait-jacketed.
| A decent language shouldn't have a preprocessor, pointer
Andreas Vox wrote:
> BTW, does anyone know the type of the expression
> bind(&Impl::finishedGenerating, this, _1, _2)
No, but you don't need to either. You can store it in a
boost::function my_func =
bind(&Impl::finishedGenerating, this, _1, _2);
to be used as
ReturnType result = my_func(a
John Weiss <[EMAIL PROTECTED]> writes:
>
> On Mon, Jan 24, 2005 at 08:15:10PM +, Andreas Vox wrote:
> >
> > Angus Leeming ...> writes:
> > > namespace support = lyx::support;
> > > using std::ostream;
> > > typedef list SnippetList;
> > >
> > > is just baaaddd.
> >
> > Ah, bad for *.h, o
On Mon, Jan 24, 2005 at 08:15:10PM +, Andreas Vox wrote:
>
> Angus Leeming <[EMAIL PROTECTED]> writes:
> > namespace support = lyx::support;
> > using std::ostream;
> > typedef list SnippetList;
> >
> > is just baaaddd.
>
> Ah, bad for *.h, ok for *.C?
> Got it.
The reason being that *.h
Hi Angus,
Here you are. I made the changes you suggested.
But probably there's still whitespace wrong, superflous includes,
symbols in the wrong namespace etc. -- just tell me.
I made a short test: a small file with some maths and then scrolling
thru Userguide.lyx
with PageDown, checking that th
Andreas Vox wrote:
> Sounds ok?
Yes. Welcome aboard ;-)
--
Angus
Hi!
Angus Leeming <[EMAIL PROTECTED]> writes:
>
It seems GMane ate my last post, so I try again.
And it doesn't like "top posting" -- or what it thinks it is.
> The diff file looks great. But it's hard to see in detail what's happening.
> Could you post the PreviewLoader.C file (yeah, I'm lazy)
Andreas Vox wrote:
> Hi!
>
> I resumed my last year's project to generate bitmap files for Docbook.
> As a first measure I refactored some code from PreviewLoader I want
> to use into its own class, SnippetConversion.
>
> I would appreciate if someone could review this code and tell me how
> to
Hi!
I resumed my last year's project to generate bitmap files for Docbook.
As a first measure I refactored some code from PreviewLoader I want
to use into its own class, SnippetConversion.
I would appreciate if someone could review this code and tell me how
to improve it. The code works for me, so
23 matches
Mail list logo