Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
95da9270
Commit
95da9270
authored
Jun 06, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix, mySTL on Sun Forte 5.4.
parent
b6e895ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
extra/yassl/mySTL/memory.hpp
extra/yassl/mySTL/memory.hpp
+4
-2
No files found.
extra/yassl/mySTL/memory.hpp
View file @
95da9270
...
...
@@ -37,16 +37,18 @@
namespace
mySTL
{
template
<
typename
T
,
typename
Deletor
=
void
(
*
)
(
T
*
)
>
template
<
typename
T
>
struct
auto_ptr_ref
{
typedef
void
(
*
Deletor
)(
T
*
);
T
*
ptr_
;
Deletor
del_
;
auto_ptr_ref
(
T
*
p
,
Deletor
d
)
:
ptr_
(
p
),
del_
(
d
)
{}
};
template
<
typename
T
,
typename
Deletor
=
void
(
*
)
(
T
*
)
>
template
<
typename
T
>
class
auto_ptr
{
typedef
void
(
*
Deletor
)(
T
*
);
T
*
ptr_
;
Deletor
del_
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment