From b16df8d98e3fa28aa0ea9396405ab113ae749759 Mon Sep 17 00:00:00 2001
From: levine
- Notice that when spaning a string literal across several lines,
- you must apply ASYS_TEXT
to every line.
- For example, it is illegal to do this:
+ Notice that when spaning a string literal across several lines,
+ you must apply ASYS_TEXT
to every
+ line. For example, it is illegal to do this:
ACE_ERROR ((LM_ERROR,
ASYS_TEXT ("%p\n"),
ASYS_TEXT ("\nerror: x is a null pointer in "
- "ACE_RB_Tree
Instead, this should be written like this:
@@ -661,7 +662,8 @@ bgcolor="#ffffff">
ACE_ERROR ((LM_ERROR,
ASYS_TEXT ("%p\n"),
ASYS_TEXT ("\nerror: x is a null pointer in ")
- ASYS_TEXT ("ACE_RB_Tree
ACE_TRACE
handles conversion
@@ -760,7 +762,8 @@ bgcolor="#ffffff">
~exe_foo ()
{ cerr << "destructor of exception called" << endl; }
exe_foo (const exe_foo& foo) : data_ (foo.data_)
- { cerr << "copy constructor of exception called" << endl; }
+ { cerr << "copy constructor of exception called"
+ << endl; }
int data_;
};
@@ -780,44 +783,52 @@ bgcolor="#ffffff">
int main ()
{
- cout << endl << "First exception" << endl << endl;
+ cout << endl << "First exception" << endl
+ << endl;
try
{
good (0);
}
catch (exe_foo &foo)
{
- cerr << "exception caught: " << foo.data_ << endl;
+ cerr << "exception caught: " << foo.data_
+ << endl;
}
- cout << endl << "Second exception" << endl << endl;
+ cout << endl << "Second exception" << endl
+ << endl;
try
{
good (0);
}
catch (exe_foo foo)
{
- cerr << "exception caught: " << foo.data_ << endl;
+ cerr << "exception caught: " << foo.data_
+ << endl;
}
- cout << endl << "Third exception" << endl << endl;
+ cout << endl << "Third exception" << endl
+ << endl;
try
{
bad (1);
}
catch (exe_foo &foo)
{
- cerr << "exception caught: " << foo.data_ << endl;
+ cerr << "exception caught: " << foo.data_
+ << endl;
}
- cout << endl << "Fourth exception" << endl << endl;
+ cout << endl << "Fourth exception" << endl
+ << endl;
try
{
bad (1);
}
catch (exe_foo foo)
{
- cerr << "exception caught: " << foo.data_ << endl;
+ cerr << "exception caught: " << foo.data_
+ << endl;
}
return 0;
@@ -996,7 +1007,6 @@ bgcolor="#ffffff">
-
+
+
+ChangeLogTag: Thu Jul 22 09:55:10 1999 David L. Levine
+ <levine@cs.wustl.edu>
+