Hi,
I want to initialize a const with the result of a function and an
if test. Is this legal?
main(){
const std::string nvr_USER((std::getenv("USER")) ? std::getenv("USER") :
"");
}
Thanks,
Charlie
--
Charlie Zender, su*****@uci.edu, (949) 824-2987, Department of Earth
System Science, University of California, Irvine CA 92697-3100