From a13a2976c2211f06e359d7cfd96a78e80df2567e Mon Sep 17 00:00:00 2001
From: Boris Kolpackov
Date: Thu, 9 Dec 2010 12:00:24 +0200
Subject: Cosmetic change (rename naked pointer to raw pointer)
---
doc/manual.xhtml | 4 ++--
odb/context.hxx | 2 +-
odb/options.cli | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index aa58a86..84ccd0d 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -3501,7 +3501,7 @@ class person
};
- If you would like to use a naked pointer as an object pointer,
+
If you would like to use the raw pointer as an object pointer,
you can use *
as a shortcut:
@@ -3515,7 +3515,7 @@ class person
If a pointer type is not explicitly specified, the default
pointer, specified with the --default-pointer
ODB compiler option, is used. If this option is not specified
- either, then the naked pointer is used by default.
+ either, then the raw pointer is used by default.
For additional information on object pointers, refer to
Section @@, "".
diff --git a/odb/context.hxx b/odb/context.hxx
index 6f5e89e..cf4383d 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -29,7 +29,7 @@ class generation_failed {};
//
enum pointer_kind
{
- pk_naked,
+ pk_raw,
pk_unique,
pk_shared,
pk_weak
diff --git a/odb/options.cli b/odb/options.cli
index ad8b97b..d796403 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -71,7 +71,7 @@ class options
"Use as the default pointer for persistent objects. Objects that
do not have a pointer assigned with the \cb{pointer} pragma specifier
will use this pointer by default. The value of this option can be \cb{*}
- which denotes a 'naked' pointer and is the default, or a qualified name
+ which denotes the raw pointer and is the default, or a qualified name
of a smart pointer class template, for example, \cb{std::auto_ptr}. In
the latter case, the ODB compiler constructs the object pointer by adding
a single template argument of the object type to the qualified name, for
@@ -79,7 +79,7 @@ class options
ODB runtime to return dynamically allocated instances of the object
type.
- Except for the 'naked' pointer and the standard smart pointers defined
+ Except for the raw pointer and the standard smart pointers defined
in the \cb{} header file, you are expected to include the
definition of the default pointer at the beginning of the generated
header file. There are two common ways to achieve this: you can either
--
cgit v1.1