Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!mcdphx!udc!qbarnes From: qbarnes@urbana.mcd.mot.com (Quentin Barnes) Newsgroups: comp.lang.c++ Subject: char *const assignment in constructor Message-ID: <1991Feb26.195200.8763@urbana.mcd.mot.com> Date: 26 Feb 91 19:52:00 GMT Sender: news@urbana.mcd.mot.com (news) Organization: Motorola Computer Group, Urbana Design Center Lines: 14 Nntp-Posting-Host: chant.urbana.mcd.mot.com I would like to have a variable of type "char *const" (pointer itself is const, not what it points to.) However, I would like to delay its initialization until the contructor is called for its class. Once it is initialized there, I would like the variable treated as const. Is there any way to do this in C++? Quentin Barnes qbarnes@urbana.mcd.mot.com ..!uiucuxc!udc!qbarnes -- Quentin Barnes qbarnes@urbana.mcd.mot.com .!uiucuxc!udc!qbarnes