Home
last modified time | relevance | path

Searched refs:DPair (Results 1 – 25 of 168) sorted by relevance

1234567

/dports/print/texlive-base/texlive-20150521-source/texk/dvisvgm/dvisvgm-1.9.2/src/
H A DBezier.h32 Bezier (const DPair &p0, const DPair &p1, const DPair &p2);
33 Bezier (const DPair &p0, const DPair &p1, const DPair &p2, const DPair &p3);
35 void setPoints (const DPair &p0, const DPair &p1, const DPair &p2, const DPair &p3);
37 DPair valueAt (double t) const;
38 DPair blossomValue (double u, double v, double w) const;
40 int approximate (double delta, std::vector<DPair> &p, std::vector<double> *t=0) const;
41 const DPair& point (int i) const {return _points[i];} in point()
42 int reduceDegree (double delta, std::vector<DPair> &p) const;
46 …int approximate (double delta, double t0, double t1, std::vector<DPair> &p, std::vector<double> *t…
49 DPair _points[4];
H A DBezier.cpp33 Bezier::Bezier (const DPair &p0, const DPair &p1, const DPair &p2) { in Bezier()
38 Bezier::Bezier (const DPair &p0, const DPair &p1, const DPair &p2, const DPair &p3) { in Bezier()
66 void Bezier::setPoints(const DPair &p0, const DPair &p1, const DPair &p2, const DPair &p3) { in setPoints()
105 DPair p012 = p01*s + p12*t; in subdivide()
106 DPair p123 = p12*s + p23*t; in subdivide()
107 DPair p0123 = p012*s + p123*t; in subdivide()
155 static inline double signed_area (const DPair &p1, const DPair &p2, const DPair &p3) { in signed_area()
160 static inline double dot_prod (const DPair &p1, const DPair &p2) { in dot_prod()
167 static bool between (const DPair &p1, const DPair &p2, const DPair &p3, double delta) { in between()
179 static inline bool near (const DPair &p1, const DPair &p2, double delta) { in near()
[all …]
H A DEmSpecialHandler.cpp47 static DPair cut_vector (char c, const DPair &v, double lw) { in cut_vector()
50 DPair cut; in cut_vector()
73 static void create_line (const DPair &p1, const DPair &p2, char c1, char c2, double lw, SpecialActi… in create_line()
75 DPair dir = p2-p1; in create_line()
91 DPair cv1 = cut_vector(c1, dir, lw); in create_line()
92 DPair cv2 = cut_vector(c2, dir, lw); in create_line()
93 DPair q11 = p1+cv1, q12 = p1-cv1; in create_line()
94 DPair q21 = p2+cv2, q22 = p2-cv2; in create_line()
167 DPair p(actions->getX(), actions->getY()); in process()
174 DPair p(actions->getX(), actions->getY()); in process()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dmodernize-make-shared.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() argument
23 DPair(int x, int y) : a(y), b(x) {} in DPair() function
164 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
167 PDir1.reset(new DPair(1, T)); in initialization()
172 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
175 PDir2.reset(new DPair{2, T}); in initialization()
191 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
196 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
206 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp22 struct DPair { struct
23 DPair() : a(0), b(0) {} in DPair() function
24 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
204 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
207 PDir1.reset(new DPair(1, T)); in initialization()
212 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
215 PDir2.reset(new DPair{2, T}); in initialization()
231 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
236 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
246 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() argument
23 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() function
23 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() function
23 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() argument
23 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() argument
23 DPair(int x, int y) : a(y), b(x) {} in DPair() function
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
175 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
178 PDir1.reset(new DPair(1, T)); in initialization()
183 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
186 PDir2.reset(new DPair{2, T}); in initialization()
202 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
207 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
217 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
H A Dmodernize-make-unique.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() function
23 DPair(int x, int y) : a(y), b(x) {} in DPair() function
221 std::unique_ptr<DPair> PDir1 = std::unique_ptr<DPair>(new DPair(1, T)); in initialization()
224 PDir1.reset(new DPair(1, T)); in initialization()
229 std::unique_ptr<DPair> PDir2 = std::unique_ptr<DPair>(new DPair{2, T}); in initialization()
232 PDir2.reset(new DPair{2, T}); in initialization()
256 std::unique_ptr<DPair> PDir3 = std::unique_ptr<DPair>{new DPair(3, T)}; in initialization()
261 std::unique_ptr<DPair> PDir4 = std::unique_ptr<DPair>{new DPair{4, T}}; in initialization()
271 std::unique_ptr<DPair> PDir5 = std::unique_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dmodernize-make-shared.cpp21 struct DPair { struct
22 DPair() : a(0), b(0) {} in DPair() function
23 DPair(int x, int y) : a(y), b(x) {} in DPair() function
176 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
179 PDir1.reset(new DPair(1, T)); in initialization()
184 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
187 PDir2.reset(new DPair{2, T}); in initialization()
203 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
208 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
218 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() argument
22 DPair(int x, int y) : a(y), b(x) {} in DPair() argument
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dmodernize-make-shared.cpp20 struct DPair { struct
21 DPair() : a(0), b(0) {} in DPair() function
22 DPair(int x, int y) : a(y), b(x) {} in DPair() function
206 std::shared_ptr<DPair> PDir1 = std::shared_ptr<DPair>(new DPair(1, T)); in initialization()
209 PDir1.reset(new DPair(1, T)); in initialization()
214 std::shared_ptr<DPair> PDir2 = std::shared_ptr<DPair>(new DPair{2, T}); in initialization()
217 PDir2.reset(new DPair{2, T}); in initialization()
233 std::shared_ptr<DPair> PDir3 = std::shared_ptr<DPair>{new DPair(3, T)}; in initialization()
238 std::shared_ptr<DPair> PDir4 = std::shared_ptr<DPair>{new DPair{4, T}}; in initialization()
248 std::shared_ptr<DPair> PDir5 = std::shared_ptr<DPair>(new DPair()); in initialization()
[all …]

1234567