>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | |
Lars> Lars> Did you try &Pimpl::cursorToggle ? | | No, but trying it
Lars> now gives: | cxx: Error: ../../lyx-devel/src/BufferView_pimpl.C,
Lars> line 82: class | "BufferView::Pimpl" is inaccessible |
Lars> &Pimpl::cursorToggle)); |
Lars> ---------------------------------------------^

Lars> Hmm... a compiler bug?

Lars> AFAIK &BufferView::Pimpl::cursorToggle is the right one.

And could some friend declaration be needed somewhere? I tried to come
up with a simple demo of that to ask on a C++ group, but I cannot even
understand the syntax of the thing (I guess I am supposed to use a
template function which takes a class member function as parameter,
but I do not know how to write that).

JMarc

Reply via email to