Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-07-08 18:34:22


On 07/08/2004 04:58 PM, David B. Held wrote:
> Larry Evans wrote:
>
>> [...]
>> FWIW, there's rm_nondeduced at:
>>
>> http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/boost/managed_ptr/rm_nondeduced.hpp
>> [...]
>
>
> So far I like Brian's solution best, even though it's a big hack.
> I don't really understand how your solution works. Could you give
> a simple contrived example in 20 lines or less?

Not in 20 lines, and I found it wouldn't work after all. The way
I used it, you'd have to be explicit with the 1st 2 arguments
as shown by the attached file, held_nested_less.cpp. The output
is in the attached held_nested_less.out.

cd ~/prog_dev/
make -k
install -d `dirname build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.o`
/opt/intel_cc_80/bin/icc -g -c -Iboost-root.ln/development_lje -Iboost-root.ln -Iboost-root.ln boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.cpp -o build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.o -MMD
sed -e 's#^held_nested_less.o:#build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.o:#' build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.d> build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.o.dep
rm build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.d
install -d `dirname build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.exe`
/opt/intel_cc_80/bin/icc -g build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.o build/intel/debug/boost-root.ln/development_lje/libs/io/filters/src/mout.o -o build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.exe
build/intel/debug/boost-root.ln/development_lje/libs/managed_ptr/test/held_nested_less.exe
li=0
lfci=1

Compilation finished at Thu Jul 8 18:30:27



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk