1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
11 class InlineCtorsArentOKInHeader
{
13 InlineCtorsArentOKInHeader() {}
14 ~InlineCtorsArentOKInHeader() {}
17 std::vector
<int> one_
;
18 std::vector
<std::string
> two_
;
21 class DeletedMembersInHeaderAreOKThough
{
23 DeletedMembersInHeaderAreOKThough() = delete;
24 ~DeletedMembersInHeaderAreOKThough() = delete;
25 DeletedMembersInHeaderAreOKThough(const DeletedMembersInHeaderAreOKThough
&) =
29 std::vector
<int> one_
;
30 std::vector
<std::string
> two_
;
33 class ExplicitlyInlinedIsAlsoOK
{
34 ExplicitlyInlinedIsAlsoOK();
35 ~ExplicitlyInlinedIsAlsoOK();
36 ExplicitlyInlinedIsAlsoOK(const ExplicitlyInlinedIsAlsoOK
&);
39 std::vector
<int> one_
;
40 std::vector
<std::string
> two_
;
43 inline ExplicitlyInlinedIsAlsoOK::ExplicitlyInlinedIsAlsoOK() {
46 inline ExplicitlyInlinedIsAlsoOK::~ExplicitlyInlinedIsAlsoOK() {
49 inline ExplicitlyInlinedIsAlsoOK::ExplicitlyInlinedIsAlsoOK(
50 const ExplicitlyInlinedIsAlsoOK
&) {
53 #endif // INLINE_CTOR_H_