On Sun, 4 Jan 2004, Lars Gullik Bjønnes wrote:
> >> Where is the obfuscation?
I found
list.remove_if(bind2nd(match(), s));
easier to understand on a high level compared to
list.remove_if(bind(equal_to(),
bind(&Branch::getBranch, _1),
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
bool BranchList::remove(string const & s)
{
List::size_type const size = list.size();
-list.remove_if(bind2nd(match(), s));
+list.remove_if(bind(equal_to(),
+
Lars Gullik Bjønnes wrote:
>>> bool BranchList::remove(string const & s)
>>> {
>>> List::size_type const size = list.size();
>>> -list.remove_if(bind2nd(match(), s));
>>> +list.remove_if(bind(equal_to(),
>>> +bind(&Branch::getBranch, _1),
>>> +
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> | I'd prefer to leave things as they are until I have a working
>> | export_inset lfun (to post the data through the lyxserver) and a
>> | working register_dialog lfun (so that our dialog is not shown on,
>> | say, a mouse c
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>
>> bool BranchList::remove(string const & s)
>> {
>> List::size_type const size = list.size();
>> -list.remove_if(bind2nd(match(), s));
>> +list.remove_if(bind(equal_to(),
>> +
Lars Gullik Bjønnes wrote:
> bool BranchList::remove(string const & s)
> {
> List::size_type const size = list.size();
> -list.remove_if(bind2nd(match(), s));
> +list.remove_if(bind(equal_to(),
> +bind(&Branch::getBranch, _1),
> +
By wrong formula, I mean things like $\text{\alpha}$ entered by C-M C-M
\alpha etc. I have discussed this problem in the user list.
Currently, with instant preview turned on,
1. If a wrong formula is entered, instant preview will fail and do
nothing.
2. If a file with any wrong formula is ope
Lars Gullik Bjønnes wrote:
> | I'd prefer to leave things as they are until I have a working
> | export_inset lfun (to post the data through the lyxserver) and a
> | working register_dialog lfun (so that our dialog is not shown on,
> | say, a mouse click, but rather the data is posted through the
>
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| I know that I am the one who began introducing pimpls to lyx. After
| that I have become quite wary of them... and feel more and more that
| you should have a good reason to use them.
>
| This boils down to: (right now) What is the use of the pimp