Abdelrazak Younes wrote:
> Abdelrazak Younes wrote:
>> Peter Kümmel wrote:
>>> Edwin Leuven wrote:
>>>> 2 of 'em, see below. someone knows what i should do? thanks, ed.
>>>>
>>>>
>>>> 2>output_latex.C
>>>> 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) :
>>>> error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access
>>>> private member declared in class 'std::basic_ios<_Elem,_Traits>'
>>>
>>>
>>> If there are no objections I check in this later today:
>>>
>>> Index: output_latex.C
>>> ===================================================================
>>> --- output_latex.C      (revision 15576)
>>> +++ output_latex.C      (working copy)
>>> @@ -308,7 +308,7 @@
>>>         bool const change_encoding = !runparams_in.dryrun &&
>>>                         bparams.inputenc == "auto" &&
>>>                         language->encoding() !=
>>> doc_language->encoding();
>>> -       odocstream & os(change_encoding ? par_stream : ucs4);
>>> +       odocstream & os = *(change_encoding ? &par_stream : &ucs4);
>>
>> Won't this compile?
>>
>> +       odocstream & os = change_encoding ? par_stream : ucs4;
> 
> No, it doesn't. Maybe a cleaner solution than yours would be to split
> the  TeXOnePar() function in two and give the odocstream as an argument.
> 
> Abdel.
> 
> 

Back to start:

It's just a reference initialization:

int i0;
int & i = i0;

int & r1 = i;
int & r2 = *(&i);
...

Where's the problem?

Peter

Reply via email to