Boost logo

Boost Users :

Subject: [Boost-users] problems with program_opsitons::parse_environment can't figure out how to do what I want.
From: Caleb Cushing (xenoterracide_at_[hidden])
Date: 2009-09-30 21:04:17


    variables_map vm_env;
    store(parse_environment(desc, "HOME"), vm_env);
    notify(vm_env);

    if(vm_env.count("HOME")) {
        path rcfile = ".koramarc";
        path home;
        home = vm_env["HOME"].as<path>();
        path tmp = home / rcfile;
        cout << "check" << endl; // just a retarted test to see if
we're actually reaching the end of this...
    }

-- 
Caleb Cushing
http://xenoterracide.blogspot.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net